https://supertokens.com/
Join Discord
I have a Nextjs application in which I have created a backendConfig file. When I use more than one t...
i

ikak1595

about 2 years ago
I have a Nextjs application in which I have created a backendConfig file. When I use more than one third party clients (as used in this example: https://github.com/supertokens/next.js/blob/canary/examples/with-supertokens/config/backendConfig.ts), the application starts giving an error
Error: The providers array has multiple entries for the same third party provider. Please mark one of them as the default one by using "isDefault: true".
. I am not sure what to do here.
i
r
  • 2
  • 4
  • 31
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
  • 31
Helllo, I tested my app locally and it works fine, but when testing in staging trying to signup/logi...
p

pierrebiv

over 2 years ago
Helllo, I tested my app locally and it works fine, but when testing in staging trying to signup/login I'm getting an error in the console saying: "SyntaxError: Unexpected end of JSON input". I checked the request and I get a 200 and I also checked the dashboard and the user was created.
p
r
  • 2
  • 28
  • 31
Hey, I'm getting a 404 on password reset backend route ``` Cannot POST /auth/user/password/reset/to...
c

Chimanos

over 2 years ago
Hey, I'm getting a 404 on password reset backend route
Cannot POST /auth/user/password/reset/token
Anything special I could have forgotten ?
c
r
  • 2
  • 6
  • 31
Is it possible to support multiple website_domains from the same instance?
w

WonderPandaDev

over 2 years ago
Is it possible to support multiple website_domains from the same instance?
w
r
  • 2
  • 23
  • 31
NO_EMAIL_GIVEN_BY_PROVIDER issue
c

cbwhite920

over 2 years ago
I'm new to setting up oauth providers and such, and am currently getting back the no email given by provider error from my Azure AD integration. Are there any common gotchas that might cause this type of error? I'm sure it's something simple in my Azure AD app registration that I'm no doing right
c
r
  • 2
  • 18
  • 31
Mkay. This kinda relates to the `Issue` I threw up on GitHub in `supertokens-node`. But this questio...
i

ITEnthusiasm

almost 3 years ago
Mkay. This kinda relates to the
Issue
I threw up on GitHub in
supertokens-node
. But this question is more specific. Is there an existing way to replicate the
/signin
,
/signup
,
/session/refresh
route middleware by hand? (And are those the only middlewares created from
app.use(middlewares())
?)
(Background in Thread)
i
r
  • 2
  • 347
  • 31
Hello, I've implemented emailpassword recipe with fastify node.js backend and vue 3 frontend. I did ...
t

techuser9244

about 3 years ago
Hello, I've implemented emailpassword recipe with fastify node.js backend and vue 3 frontend. I did the rest api endpoints authentication using verifySession as per the documentation. But whenever the access token expires it doesnt get refreshed through refresh token and im getting an error message: "try refresh token". I dont understand where im going wrong.
t
r
  • 2
  • 9
  • 31
Hi, I'm thinking about switching my server environment to functions / edge functions. There's seemi...
d

doron6387

about 3 years ago
Hi, I'm thinking about switching my server environment to functions / edge functions. There's seemingly support for functions but your docs state:
Please refer the Serverless Deployment section (Towards the bottom of the navigation index)
Which I can't find, does it exist or am I blind? 😅 Regarding edge functions environment, I'd like to use Cloudflare Workers, do you offer native support for the runtime?
d
r
m
  • 3
  • 8
  • 31
Hey guys, I want to use krakend.io API Gateway to enforce request level authorization. Krakend suppo...
e

execreate

about 3 years ago
Hey guys, I want to use krakend.io API Gateway to enforce request level authorization. Krakend supports fetching the token from cookies with
cookie_key
parameter (https://www.krakend.io/docs/authorization/jwt-validation/), so I guess it must possible to make it work with Supertokens http-only cookies. Theoretically, I can pass
jwk_url
of Supertokens (https://supertokens.com/docs/passwordless/common-customizations/sessions/with-jwt/get-jwks-and-issuer) to Krakend and set
cookie_key
to
sAccessToken
to make it work. But the jwks endpoint in Supertokens is not available unless I turn on jwt in session recipe, is that right? Because I cannot fetch the jwks endpoint with my current setup where I did not enable jwt in Supertokens.
e
r
  • 2
  • 5
  • 31
Previous282930Next

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