https://supertokens.com/
Join Discord
I'm using Nextjs and embedding the forms in different pages. I've noticed that the forms are taking ...
c

chunkygoo.

about 3 years ago
I'm using Nextjs and embedding the forms in different pages. I've noticed that the forms are taking a while to show up. I suppose this is due to the ssr=false in dynamic?
c
r
  • 2
  • 27
  • 103
hello, im getting 401 unauthorized when im trying to use the verifySession() middleware, any idea wh...
t

tajin_malsou9a

over 3 years ago
hello, im getting 401 unauthorized when im trying to use the verifySession() middleware, any idea what can the problem be? I'm using EmailPassword recipe. Also I have another question, can I use the SessionRequest object in a js object not ts ? im trying to get the token payload
t
r
  • 2
  • 69
  • 102
Has anyone managed to get supertokens working with next.js v13 app directory?
d

Deleted User

over 2 years ago
Has anyone managed to get supertokens working with next.js v13 app directory?
d
n
p
  • 3
  • 52
  • 101
Greetings, does this works with WordPress?
c

CosmicSound

over 3 years ago
Greetings, does this works with WordPress?
c
r
  • 2
  • 4
  • 101
verifySession throwing an error
m

monish.chhadwa

over 2 years ago
I am using the supertokens middleware in our backend; and seeing this error. Is it something that I should handle? {"type":"SessionError","message":"Failed to verify access token","stack":"Error: Failed to verify access token at Object. (/usr/src/app/node_modules/supertokens-node/lib/build/recipe/session/accessToken.js:89:19) at Generator.next () at /usr/src/app/node_modules/supertokens-node/lib/build/recipe/session/accessToken.js:44:75 at new Promise () at __awaiter (/usr/src/app/node_modules/supertokens-node/lib/build/recipe/session/accessToken.js:26:16) at Object.getInfoFromAccessToken (/usr/src/app/node_modules/supertokens-node/lib/build/recipe/session/accessToken.js:57:12) at Object. (/usr/src/app/node_modules/supertokens-node/lib/build/recipe/session/sessionFunctions.js:105:55) at Generator.next () at fulfilled (/usr/src/app/node_modules/supertokens-node/lib/build/recipe/session/sessionFunctions.js:15:36) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","errMagic":"ndskajfasndlfkj435234krjdsa","fromRecipe":"session","isBoom":true,"isServer":true,"data":null,"output":{"statusCode":500,"payload":{"status":500,"error":"Internal Server Error","message":"An internal server error occurred","code":"UNKNOWN","data":null},"headers":{}}},"msg":"Failed to verify access token"}
m
r
  • 2
  • 37
  • 100
I'm using NextJS's API routes. The API cannot find the route: http://localhost:3000/api/auth/session...
c

chunkygoo.

almost 3 years ago
I'm using NextJS's API routes. The API cannot find the route: http://localhost:3000/api/auth/session/refresh . Do I need to add interceptors? I think the latest version of Supertokens removed the need for adding interceptors right? Using "supertokens-auth-react": "^0.27.3", "supertokens-node": "^12.1.1",
c
r
  • 2
  • 17
  • 99
How do we use supertokens with sveltekit??
s

sheyzi_einstein

over 3 years ago
How do we use supertokens with sveltekit??
s
r
  • 2
  • 18
  • 99
Hello Everyone, I'm new to SuperTokens, right now I'm trying to get it work with Sapper app and impo...
d

Deleted User

over 3 years ago
Hello Everyone, I'm new to SuperTokens, right now I'm trying to get it work with Sapper app and importing "supertokens-node/recipe/session" crashes my server somehow. Does anybody have any idea why this would happen?
d
r
n
  • 3
  • 31
  • 99
Missing Cookies
t

Tyler Dane

over 3 years ago
Missing Cookies
t
j
r
  • 3
  • 7
  • 96
I also get a 403 forbidden error when trying to call my FastAPI backend, but presume that's because ...
k

Kranos

over 2 years ago
I also get a 403 forbidden error when trying to call my FastAPI backend, but presume that's because the user is logged in but not yet verified.
k
r
  • 2
  • 4
  • 94
Previous678Next

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