https://supertokens.com/
Join Discord
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 again people, context: we are using the self-hosted version of supertokens core in kubernetes ...
n

nabeel4628

over 2 years ago
Hello again people, context: we are using the self-hosted version of supertokens core in kubernetes (with the help of helmchart mentioned here https://github.com/supertokens/supertokens-docker-postgresql/tree/master/helm-chart ) with
thirdpartypasswordless
recipe , in
golang
backend sdk (with gin framework) now, in the refresh session flow, the call to core at
/recipe/session/refresh
from the golang-sdk is breaking i.e., for i tried manually calling supertokens core via cURL with:
curl --request POST 'http://supertokens:3567/recipe/session/refresh' --header 'api-key: <api-key here>' --header 'rid: session' --header 'content-type: application/json; charset=utf
-8' --header 'cdi-version: 2.14' --data-raw '{"refreshToken": "<refresh token here>", "enableAntiCsrf": false}'
the response returned by core is
{"status":"UNAUTHORISED","message":"java.lang.IllegalArgumentException: Illegal base64 character 25"}
So any help would be appreciated PS: when I tried the refresh flow locally, with docker image of supertokens core ran locally, the same call to
/recipe/session/refresh
via golang-skd is getting response OK (with the same sdk version of supertokens in golang)
n
r
a
  • 3
  • 42
  • 97
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
  • 95
I am getting `The JWKS endpoint did not contain any signing keys` the keys are at https://api.ploton...
h

hitesh

about 2 years ago
I am getting
The JWKS endpoint did not contain any signing keys
the keys are at https://api.ploton.app/api/jwt/jwks.json Any suggestions? Sorry this might not be relevant to ST. But this is driving me nuts.
h
r
  • 2
  • 4
  • 93
Hey, I've been using supertokens-auth-react with Vite and the styles don't seem to be loading in. Is...
t

texoport

about 3 years ago
Hey, I've been using supertokens-auth-react with Vite and the styles don't seem to be loading in. Is there something I might be potentially doing wrong?
t
n
  • 2
  • 4
  • 93
Hi <@498057949541826571> For refreshing the session , I am able to use the same refresh token multip...
k

krrishan

over 1 year ago
Hi @rp_st For refreshing the session , I am able to use the same refresh token multiple times for getting new access token if I pass that as Authorization header Whereas if I pass same refresh token twice as cookie then it says Token theft detected and on third time it says : Unauthorized Can you please tell why the flow differs in both cases that is Authorziation header and cookie ?
k
r
  • 2
  • 56
  • 92
Is there a health check endpoint for the service using the backend sdk? I mean is there a healthchec...
a

aktopian

about 2 years ago
Is there a health check endpoint for the service using the backend sdk? I mean is there a healthcheck route that the middy middleware injects? I know there is one for supertokens-core.
a
r
  • 2
  • 9
  • 91
Hi, can I set the expire duration for access and refresh token? I want to set a short time for dev d...
a

anas

about 2 years ago
Hi, can I set the expire duration for access and refresh token? I want to set a short time for dev demo purpose
a
r
  • 2
  • 50
  • 91
Hey, I am trying to get the first & last name when signing up with Google, but I cannot find it in t...
i

ItayElgazar

over 2 years ago
Hey, I am trying to get the first & last name when signing up with Google, but I cannot find it in the response. Is there any resource that can help me with this?
i
r
  • 2
  • 14
  • 89
Has anybody seen this error? API input error: Please make sure to pass valid URL query params 2023-0...
d

davido_k

almost 3 years ago
Has anybody seen this error? API input error: Please make sure to pass valid URL query params 2023-02-25T22:28:00.818Z com.supertokens {t: "2023-02-25T22:28:00.818Z", message: "errorHandler: Started", file: "/Users/dave/Code/node_modules/supertokens-node/lib/build/supertokens.js:321:26" sdkVer: "13.0.2"} 2023-02-25T22:28:00.818Z com.supertokens {t: "2023-02-25T22:28:00.818Z", message: "errorHandler: Error is from SuperTokens recipe. Message: API input error: Please make sure to pass valid URL query params", file: "/Users/dave/Code/node_modules/supertokens-node/lib/build/supertokens.js:323:30" sdkVer: "13.0.2"} 2023-02-25T22:28:00.818Z com.supertokens {t: "2023-02-25T22:28:00.818Z", message: "errorHandler: Sending 400 status code response", file: "/Users/dave/Code/node_modules/supertokens-node/lib/build/supertokens.js:325:34" sdkVer: "13.0.2"} 2023-02-25T22:28:00.819Z com.supertokens {t: "2023-02-25T22:28:00.818Z", message: "Sending response to client with status code: 400", file: "/Users/dave/Code/node_modules/supertokens-node/lib/build/utils.js:133:14" sdkVer: "13.0.2"} I'm getting it when trying to implement Sign In with Apple. I'm POSTing to /api/auth/callback/apple a
state
and a
code
value Everything seems like it should work.
d
r
s
  • 3
  • 34
  • 89
Previous789Next

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