https://supertokens.com/
Join Discord
For passwordless recipe implementation using web-js-sdk It's not clear from the docs which fn shoul...
s

sharma8471

over 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
  • 39
HI everyone, I am new to supertoken and docker, I am trying to follow this instruction to host the c...
a

andrewlee1123

over 3 years ago
HI everyone, I am new to supertoken and docker, I am trying to follow this instruction to host the core with docker - https://supertokens.com/docs/emailpassword/quick-setup/database-setup/mysql I have a mysql server running at port 3306 and my ip address is 192.168.1.207, I run the docker command with my env variables, and I got an error saying that "Socket fail to connect to host:192.168.1.207, port:3306. Connection refused". What is wrong here? Thank for your help~
a
r
  • 2
  • 23
  • 39
Hey team , I am using managed solution for supertoken and I received "No SuperTokens core available ...
t

Tushar

over 1 year ago
Hey team , I am using managed solution for supertoken and I received "No SuperTokens core available to query". I received this error around 12:54. Was supertoken down during that period . As currently I am not receiving that error and auth is working fine .
t
r
  • 2
  • 1
  • 38
if I use the SignInAndUp component from 'supertokens-auth-react/recipe/thirdpartypasswordless/prebui...
i

idanto

over 1 year ago
if I use the SignInAndUp component from 'supertokens-auth-react/recipe/thirdpartypasswordless/prebuiltui' and I would like to catch API error, is it possible?
i
r
  • 2
  • 36
  • 38
Server sided NextJS components are getting 'unauthorised' responses from the second api
c

crimsidian

almost 2 years ago
Hi, I would appreciate some help with getting session authorization to work with a second api. I have NextJS 14 setup with app router and a backend api with Express. Server sided components are getting 'unauthorised' responses from the Express api.
c
t
  • 2
  • 4
  • 38
Hello! I'm following https://supertokens.com/docs/emailpassword/custom-ui/init/backend with a fastAP...
p

psyf

almost 2 years ago
Hello! I'm following https://supertokens.com/docs/emailpassword/custom-ui/init/backend with a fastAPI+Postgres. Should the
/auth
routes be visible in the OpenAPI
/docs
endpoint if I did everything according to the link above? TIA for any help!
p
r
  • 2
  • 3
  • 38
Is anyone here who implements supertokens with express backend with custom nextjs UI?
s

shahreaz0

almost 2 years ago
Is anyone here who implements supertokens with express backend with custom nextjs UI?
s
r
  • 2
  • 49
  • 38
I’m running supertokens production. Are the databases backed up? Can I have access to the backups? I...
a

aktopian

almost 2 years ago
I’m running supertokens production. Are the databases backed up? Can I have access to the backups? If I want to migrate to on-prem, can I request a data dump?
a
r
  • 2
  • 6
  • 38
Is there a way to self host the resources that the dashboard loads from 'cdn.jsdelivr.net'? No idea ...
a

adriansteffan

about 2 years ago
Is there a way to self host the resources that the dashboard loads from 'cdn.jsdelivr.net'? No idea why, but sometimes getting bundle.js and main.css from the cdn takes 5+ minutes, which makes development involving the dashboard difficult.
a
r
  • 2
  • 1
  • 38
good morning. i am using email/password login and i want to add the email to the token. i believe i ...
s

snackdex

about 2 years ago
good morning. i am using email/password login and i want to add the email to the token. i believe i am supposed to use this, but my python skills are not as great as they should be, so i'm unsure how to access the email field. would it be in the user_context: https://supertokens.com/docs/emailpassword/common-customizations/sessions/claims/access-token-payload#during-session-creation
s
r
  • 2
  • 1
  • 38
Previous242526Next

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