https://supertokens.com/
Join Discord
Hey guys, we have implemented supertokens in our app and using COOKIE as Token transfer method. But...
d

dlighten08

over 2 years ago
Hey guys, we have implemented supertokens in our app and using COOKIE as Token transfer method. But every time we try to login it's stuck in infinite refresh calls. Can anyone help!?
d
d
+2
  • 4
  • 75
  • 137
What version of NodeJS SDK is supported on SuperTokens core? Because I'm running : supertokens-node ...
m

Marques

over 2 years ago
What version of NodeJS SDK is supported on SuperTokens core? Because I'm running : supertokens-node
14.0.2
and NodeJS SDK
18.16.0
and I get this error: "The running SuperTokens core version is not compatible with this NodeJS SDK."
m
n
  • 2
  • 20
  • 133
Hi. Am trying to run `supertokens-postgres` docker container in my local providing it a postgres con...
w

wishabhilash

over 2 years ago
Hi. Am trying to run
supertokens-postgres
docker container in my local providing it a postgres connection string of
neon db
. It is failing with the following error
What caused the crash: Driver org.postgresql.Driver claims to not accept jdbcUrl, jdbc:postgres://ep-fragrant-firefly-243626.us-west-2.aws.neon.tech/neondb?allowPublicKeyRetrieval=true
. Kindly help. 🙏
w
r
  • 2
  • 7
  • 130
I'm using Nestjs as backend, with both rest and graphql implementation. How should I set the token i...
n

nik2208

almost 2 years ago
I'm using Nestjs as backend, with both rest and graphql implementation. How should I set the token in graphql playground?
n
r
  • 2
  • 61
  • 129
Hello, idk if this is the right channel but im having problems with apple sign in Im unable to sign ...
k

kevin.mv

over 2 years ago
Hello, idk if this is the right channel but im having problems with apple sign in Im unable to sign the jwt with the key apple provided, the jsonwebtoken library gives me the error
secretOrPrivateKey must be an asymmetric key when using ES256
k
r
  • 2
  • 20
  • 129
So I'm getting this error when calling `SuperTokens.init`: Please provide a valid URL path This is...
i

ITEnthusiasm

over 2 years ago
So I'm getting this error when calling `SuperTokens.init`: > Please provide a valid URL path This is my config
ts
SuperTokens.init({
  supertokens: {
    connectionURI: "http://127.0.0.1:3567",
  },
  appInfo: {
    appName: "SuperTokens Testing",
    websiteDomain: "http://localhost:3000",
    apiDomain: "http://localhost:3000",
    apiBasePath: "/auth",
  },
  recipeList: [
    EmailPassword.init(),
    Session.init(),
  ],
});
Any idea why I'd be getting this error? Seems like the URLs I have are valid.
i
r
  • 2
  • 18
  • 127
Hi, I have update Supertokens core to 5.0 and updated supertokens-node to 14.1.1 (latest) but when I...
a

amirnoorani

over 2 years ago
Hi, I have update Supertokens core to 5.0 and updated supertokens-node to 14.1.1 (latest) but when I try to login it says SOMETHING_WENT_WRONG_ERROR with error 500 Node express backend log:
data: { error: 'invalid_grant', error_description: 'Bad Request' }
POST /auth/signinup 500
should I update any of my node codes after updating to core 5.0?
a
r
  • 2
  • 49
  • 125
Hi, i'm getting 404 when requesting authorisation url through website on local, but when i try the s...
a

amrmzkr

about 3 years ago
Hi, i'm getting 404 when requesting authorisation url through website on local, but when i try the same url on postman it's working fine. any idea on how i can fix this?
a
r
  • 2
  • 10
  • 119
Redirect to mobile app after post login on web with the tokens
d

Diesel

over 3 years ago
Redirect to mobile app after post login on web with the tokens
d
r
  • 2
  • 12
  • 119
Hi everyone, who know why have this error ? : ```ts Error: SuperTokens core threw an error for a GET...
a

astra.goat

almost 2 years ago
Hi everyone, who know why have this error ? :
ts
Error: SuperTokens core threw an error for a GET request to path: '/dashboardauth/users/by-accountinfo' with status code: 400 and message: AppId or tenantId not found => Tenant with the following connectionURIDomain, appId and tenantId combination not found: (, public, dashboardauth)

    at Querier.sendRequestHelper (/home/supertokenBackend/SuperTokens-Auth/backend/node_modules/supertokens-node/lib/build/querier.js:361:27)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Querier.sendGetRequest (/home/supertokenBackend/SuperTokens-Auth/backend/node_modules/supertokens-node/lib/build/querier.js:173:40)
    at Object.listUsersByAccountInfo (/home/supertokenBackend/SuperTokens-Auth/backend/node_modules/supertokens-node/lib/build/recipe/accountlinking/recipeImplementation.js:161:26)
    at listUsersByAccountInfo (/home/supertokenBackend/SuperTokens-Auth/backend/node_modules/supertokens-node/lib/build/index.js:69:16)
My backend is hosted on my vps and same for the frontend. I share you my config for the backend and the frontend. thank's a lot to anyone who can help me
a
r
  • 2
  • 10
  • 118
Previous456Next

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