https://supertokens.com/
Join Discord
Hello, wanted to say that I'm struggling a little running the user roles recipe on Safari (works on ...
g

gabrielius7369

over 3 years ago
Hello, wanted to say that I'm struggling a little running the user roles recipe on Safari (works on Chrome) due to line 47 of logger.js: "return errorStack[i].match(/(?<=\().+?(?=\))/g);". This kind of regular expression is not supported in Safari and gives a "SyntaxError: Invalid regular expression: invalid group specifier name". Are there any fixes for this so that I could run my webite on Safari? Edit: logger.js is at supertokens-node/lib/build/logger.js
g
r
  • 2
  • 4
  • 36
Can anyone tell me how can i renew session?? Problem : When the access token expires my backend api ...
a

abhaybisht2002

over 1 year ago
Can anyone tell me how can i renew session?? Problem : When the access token expires my backend api throws 401 so i want to renew user session / or regenerate accessToken instead of redirecting to logout
a
r
  • 2
  • 25
  • 35
Hi, I would like to use nock to mock the API call behaind `thirdPartySignInUpPOST` because of some a...
i

idanto

almost 2 years ago
Hi, I would like to use nock to mock the API call behaind
thirdPartySignInUpPOST
because of some account linking logic we do after it that I would like to test. can you help me understand how the request path looks like and what should be an example of the response? I'm going to use nock to do that if it makes any difference for you
i
r
  • 2
  • 2
  • 35
ThirdPartyEmailPassword: Removed signInUp and added manuallyCreateOrUpdateUser instead in the recipe...
i

ITEnthusiasm

over 2 years ago
ThirdPartyEmailPassword: > Removed signInUp and added manuallyCreateOrUpdateUser instead in the recipe exposed functions. > Updated signInUp recipe interface function in thirdparty with new parameters ^Was that intentional? Seems a little confusing. Is the second
signInUp
supposed to be
manuallyCreateOrUpdateUser
?
i
r
  • 2
  • 7
  • 35
Hello. I've been using the ThirdPartyEmailPassword recipe for my Supertokens setup on the backend an...
n

nicktgn

over 2 years ago
Hello. I've been using the ThirdPartyEmailPassword recipe for my Supertokens setup on the backend and everything worked great. Now I actually wanted to switch to ThirdParty recipe, since I'm not really doing email password login currently in my app. But after switching the backend config to use ThirdParty recipe, the
/{apiBasePath}/signinup
route is no longer there and I can not POST to it. Can anyone suggest what could be the cause? Thanks.
n
r
  • 2
  • 30
  • 35
<@498057949541826571> did you train the chatbot on the discord data?
r

robschilder

over 2 years ago
@rp_st did you train the chatbot on the discord data?
r
r
  • 2
  • 5
  • 35
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
  • 35
I'm using the nextjs started integration and when I have an active user session and I hit the /auth ...
o

oldhack1364

about 3 years ago
I'm using the nextjs started integration and when I have an active user session and I hit the /auth route I get caught in an endless redirect loop. Everything's been followed exactly as the integration says
o
n
r
  • 3
  • 107
  • 35
Hi, I followed the nestjs setup guide and when I went to auth/dashboard it showed a server error. Ne...
j

JuanJo

about 3 years ago
Hi, I followed the nestjs setup guide and when I went to auth/dashboard it showed a server error. Nest app shows this error: SuperTokens core threw an error for a GET request to path: '/apiversion' with status code: 401 and message: Invalid API key. The connection uri and api key in nest are the ones provided in the managed service, I don't know what could be wrong.
j
r
  • 2
  • 14
  • 35
Hey I'm trying to redirect the user to different url after logging in, its working fine with otp lo...
s

shri4953

about 3 years ago
Hey I'm trying to redirect the user to different url after logging in, its working fine with otp login (to do this i am passing different url in redirectToPath=someUrl), but google login success does not redirect (redirectToPath becomes empty string). following this guide https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/redirecting-post-login i couldn't find something similar with the Session recipe which i would like to support as well
s
r
  • 2
  • 2
  • 35
Previous333435Next

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