https://supertokens.com/
Join Discord
Hi guys! I've come across a pretty strange behavior. I'm using the SDK in a react native app. In o...
a

Axel

almost 3 years ago
Hi guys! I've come across a pretty strange behavior. I'm using the SDK in a react native app. In order to maintain the session state i routinely check "SuperTokens.doesSessionExist()" and with that answer go forward with an authorized/unauthorized user. What i have discovered is that when the session expires, the method "doesSessionExist", still resolves true.
a
r
  • 2
  • 59
  • 34
Is the email template tied to the SMTPService class? I want to enqueue the email to an HTTP endpoint...
n

n1ru4l

about 3 years ago
Is the email template tied to the SMTPService class? I want to enqueue the email to an HTTP endpoint (also easier to integration test) instead of directly connecting to SMTP
n
r
  • 2
  • 4
  • 34
For passwordless recipe implementation using web-js-sdk It's not clear from the docs which fn shoul...
s

sharma8471

about 3 years ago
For passwordless recipe implementation using web-js-sdk It's not clear from the docs which fn should I use. There are multiple fn is SDK reference. So I'm just guessing from the fn names that probably these are all the steps/code I need to have for authentication 1. Create passwordless code -
superTokensPasswordless.createCode({ email: "john@example.org" })
2. Now either they will type in the code in a form I provide or they will visit the email link. If they visit the link, I will get their code like this
const userInputCode = superTokensPasswordless.getLinkCodeFromURL()
3. Then I will verify the code -
superTokensPasswordless.consumeCode({ userInputCode: "8465AWETA" }).then((res) => { if(res.createdUser){ console.log(JSON.stringify(res.user))} })
Session should be automatically set now Am I missing anything?
s
r
n
  • 3
  • 28
  • 34
Hey guys, what is the reason that Apple has a redirect to `/api/auth/callback/apple` and the others ...
r

robschilder

about 3 years ago
Hey guys, what is the reason that Apple has a redirect to
/api/auth/callback/apple
and the others to
/auth/callback/google
for example? (notice the
/api
)
r
r
k
  • 3
  • 104
  • 34
hello guys, can i change the language in button or header ?
m

mas_dwi

about 3 years ago
hello guys, can i change the language in button or header ?
m
r
  • 2
  • 8
  • 34
How about storing user tokens in a redis cache db?
λ

Λ C Ξ L X R D

over 3 years ago
How about storing user tokens in a redis cache db?
λ
r
  • 2
  • 2
  • 34
Hey I'm getting a really weird error where trying to sign in with Google results in this:
f

fluentcoding

over 1 year ago
Hey I'm getting a really weird error where trying to sign in with Google results in this:
f
r
  • 2
  • 22
  • 33
Hello! I'm wondering what the timeline is for the 2FA improvements that are listed on the product ro...
e

eliasbemlo

almost 2 years ago
Hello! I'm wondering what the timeline is for the 2FA improvements that are listed on the product roadmap? I just started looking at 2FA and the docs have this big Caution banner: https://supertokens.com/docs/mfa/backend/second-factor
e
r
a
  • 3
  • 9
  • 33
Hi there, I am trying to call the sign_up function from the supertokens_python.recipe.emailpassword....
s

SuperEric

almost 2 years ago
Hi there, I am trying to call the sign_up function from the supertokens_python.recipe.emailpassword.asyncio library. When I call
result = await sign_up(sign_up_input.email, sign_up_input.password)
I get the error message
TypeError: sign_up() missing 1 required positional argument: 'tenant_id'
But when I do the call
result = await sign_up(tenant_id="", email=sign_up_input.email, password=sign_up_input.password)
I get the error
TypeError: sign_up() takes 3 positional arguments but 4 were given
Is this a bug? Using version 0.16.0 of the supertokens python sdk
s
r
  • 2
  • 11
  • 33
Hello support. I'm tryng to setup the front end sdk for react native on a expo project with react na...
a

alejanky

about 2 years ago
Hello support. I'm tryng to setup the front end sdk for react native on a expo project with react native web. When i try to use the init function. it says that the domain name is invalid but am pretty sure it is and have tested with postman. is there something that im missing or it could be something about the expo and react native web itself that are not compatible. I also tried the web version on it and it seem like it worked. but i dont know if that will be able to work on the andoid and ios side of the app. Ty for you help and if there anything else you need im glad to provide it
a
r
n
  • 3
  • 14
  • 33
Previous252627Next

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