https://supertokens.com/
Join Discord
Setting up multiple frontends for one backend for python flask , what value of website domain to kee...
t

Tushar

almost 2 years ago
Setting up multiple frontends for one backend for python flask , what value of website domain to keep if we have multiple frontend consuming the same backend , will the origin thing work for python flask as well as mentioned in the docs @rp_st
t
r
  • 2
  • 10
  • 12
"Hello, I am currently implementing the SuperTokens passwordless recipe in a ReactJS application wi...
m

Manoj G

almost 2 years ago
"Hello, I am currently implementing the SuperTokens passwordless recipe in a ReactJS application with Redux Toolkit. My code, which handles OTP submission, works perfectly in my local development environment. However, when I deploy the same code to my production environment, I encounter the following error: error from otp submit ====== TypeError: Cannot use 'in' operator to search for 'loginMethods' in undefined at l (main.js:2:3254333) at t.normaliseUserResponse (main.js:2:3256743) at Object. (main.js:2:3231054) at main.js:2:3228544 at Object.next (main.js:2:3228649) at a (main.js:2:3227363) import { createCode, resendCode, consumeCode,} from "supertokens-web-js/recipe/passwordless"; i am using above library It's worth noting that my code does not make any reference to 'loginMethods,' and this issue only arises in the production environment. I have compared the configurations between my local and production environments, and they seem consistent. Additionally, I have reviewed the SuperTokens documentation and have not found any references to 'loginMethods' in my code. Could you please assist me in identifying the root cause of this error and provide guidance on how to resolve it? Thank you for your help.
m
r
  • 2
  • 21
  • 12
Getting the following error: Error: please provide exactly one client config or pass clientType or t...
s

simon7000

almost 2 years ago
Getting the following error: Error: please provide exactly one client config or pass clientType or tenantId I am using the latest versions of
supertokens-node supertokens-auth-react supertokens-web-js
. I am trying to add a custom provider. Is clientType for react required? If I provide the clientType I am getting an error that the config for this client type is missing.
s
r
  • 2
  • 13
  • 12
How can I design the account system with multiple levels? Accounts > Teams > Users ? Where do I hold...
h

hfakar

about 2 years ago
How can I design the account system with multiple levels? Accounts > Teams > Users ? Where do I hold these Account and Teams information? Do I need to create new tables in Supertokens DB ?
h
r
  • 2
  • 13
  • 12
Hi, the cookies are being blocked on a different domain then the backend. The domain is .vercel.app...
e

EdwinN1337

about 2 years ago
Hi, the cookies are being blocked on a different domain then the backend. The domain is .vercel.app (a public domain?) We added this to the init function from supertokens
js
  recipeList: [
    ThirdPartyEmailPassword.init(),
    Session.init({
      sessionTokenBackendDomain: getCookiesDomain(),
edit: we have this issue since updating supertokens-web-js to 0.5
e
r
  • 2
  • 12
  • 12
how to set use the user metadata feature
r

rp_st

over 2 years ago
how to set / use the user metadata feature in python?
r
  • 1
  • 1
  • 12
<@498057949541826571> I have several google accounts. once I select google account when i am using l...
b

bian

over 2 years ago
@rp_st I have several google accounts. once I select google account when i am using login with google, I can't choose other google account anymore when I am trying to login again. is there any way to fix this?
b
r
s
  • 3
  • 59
  • 12
Hi there, I am thinking about using supertokens for our intenal admin app. We don't want to allow ou...
j

jamalm8656

over 2 years ago
Hi there, I am thinking about using supertokens for our intenal admin app. We don't want to allow our users to signup, but want to create users through the user management dashboard. Is that supported?
j
n
  • 2
  • 5
  • 12
Is there a management background for ordinary users, such as users can change passwords, modify emai...
c

candice07251

over 2 years ago
Is there a management background for ordinary users, such as users can change passwords, modify email?
c
r
  • 2
  • 7
  • 12
Deploying my app to fly.io and experiencing this issue when attempting to sign in. After going from ...
d

djarran

over 2 years ago
Deploying my app to fly.io and experiencing this issue when attempting to sign in. After going from the Google Sign In Page back to the callback url at /auth/callback, white screen is loaded rather than the default orange spinner. Looking at the console, I see this (though I'm not sure if this is relevant to the issue. The same sequence when run locally functions fine The stylesheet https://domain-name/auth/callback/static/css/main.e6d1f72b.css was not loaded because its MIME type, “text/html”, is not “text/css”. The script from “https://domain-name/auth/callback/static/js/main.361a78ef.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
d
r
  • 2
  • 36
  • 12
Previous656667Next

SuperTokens.com

SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).

Powered by