https://supertokens.com/
Join Discord
Hi, I'm trying to implement supertokens into my nestjs + nextjs application with ThirdPartyEmailPass...
h

howard

over 3 years ago
Hi, I'm trying to implement supertokens into my nestjs + nextjs application with ThirdPartyEmailPassword. I encountered an error when trying to signin/signup with Google. The account is successfully signup/signin in the development environment but the /signinup api failed with status code 500 on frontend 400 on backend, then the error got displayed on the form. When reload the frontend application, it does recognize that I've logged in and redirect to the home page tho.
h
r
  • 2
  • 32
  • 38
If the supetoken-core is running in docker, How to allow cors origin? I am getting this error - "fro...
p

prachi8628

over 3 years ago
If the supetoken-core is running in docker, How to allow cors origin? I am getting this error - "from origin 'http://localhost:3001' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'."
p
r
  • 2
  • 52
  • 38
Hi all, we put together some scripts to migrate users (along with userid mapping, roles and metadata...
f

Firgrep

over 1 year ago
Hi all, we put together some scripts to migrate users (along with userid mapping, roles and metadata) from one supertokens deployment to another. Hope it can be useful to some of you 🙂 https://github.com/Solgt/supertokens-migration
f
r
  • 2
  • 1
  • 37
hey <@498057949541826571> i am getting a wierd behaviour, when i revoking all session for a user , ...
s

satty_71243

almost 2 years ago
hey @rp_st i am getting a wierd behaviour, when i revoking all session for a user , authGuard is still able to allow the request.
s
r
  • 2
  • 2
  • 37
Is there a way to auto set primary user on sign-up? Otherwise I override signInUp on backend and cal...
i

ilbarbarossa

about 2 years ago
Is there a way to auto set primary user on sign-up? Otherwise I override signInUp on backend and call createPrimaryUser
i
r
  • 2
  • 20
  • 37
Hi could I get some assistance? I am working on a feature where I want to send a link as part of a c...
m

mongoose1993

about 2 years ago
Hi could I get some assistance? I am working on a feature where I want to send a link as part of a confirmation email. I would like to create a magic link that authenticates a user and allows them to cancel a booking. I have been looking at this documentation https://supertokens.com/docs/thirdpartypasswordless/custom-ui/login-magic-link but I don’t necessarily want the email to be sent automatically as we have a trigger through Salesforce Marketing Cloud and I would to pass in a token as part of this magic link. But I am not sure how to proceed. Any advice would be appreciated.
m
u
  • 2
  • 3
  • 37
Why session.getSessionDataFromDatabase returning and empty object ? Is it because there is nothing i...
y

youscript

about 2 years ago
Why session.getSessionDataFromDatabase returning and empty object ? Is it because there is nothing in the session data by default or what ?
y
r
  • 2
  • 1
  • 37
I got 405 when signin/up. I am using NextJS and passwordless login. (Phone) I have `pages/api/auth...
y

yujonglee

over 2 years ago
I got 405 when signin/up. I am using NextJS and passwordless login. (Phone) I have
pages/api/auth/[[...path]].tsx
and it's content is same as doc. This is my appInfo
export const appInfo = {
  appName: NAME,
  apiDomain: DOMAIN,
  websiteDomain: DOMAIN,
  apiBasePath: "/api/auth",
  websiteBasePath: "/auth"
}
I can see UI in
<DOMAIN>/auth
, but when I provide phone number and click continue, I got this.
[Error] Failed to load resource: the server responded with a status of 405 (Method Not Allowed) (refresh, line 0) <DOMAIN>/api/auth/session/refresh

[Error] Failed to load resource: the server responded with a status of 405 (Method Not Allowed) (refresh, line 0)
<DOMAIN>/api/auth/session/refresh

[Error] Failed to load resource: the server responded with a status of 405 (Method Not Allowed) (refresh, line 0)
<DOMAIN>/api/auth/session/refresh

[Error] Failed to load resource: the server responded with a status of 405 (Method Not Allowed) (code, line 0)
<DOMAIN>/api/auth/signinup/code
y
r
  • 2
  • 17
  • 37
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
  • 37
h

himanshukukreja_

almost 3 years ago
h
r
  • 2
  • 12
  • 37
Previous293031Next

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