https://supertokens.com/
Join Discord
Did anyone set up Nuxt 3 + Supertokens? Any thoughts how to stay on SSR? Saw only NextJS in guid...
w

whitekotenok

about 2 years ago
Did anyone set up Nuxt 3 + Supertokens? Any thoughts how to stay on SSR? Saw only NextJS in guides
w
r
  • 2
  • 1
  • 28
getting this error in the console on the client side Access to fetch at 'https://api-development.bi...
b

bitcoinrippin

about 2 years ago
getting this error in the console on the client side Access to fetch at 'https://api-development.bitcoinerfreelance.com/auth/session/refresh' from origin 'https://development.bitcoinerfreelance.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. Here is my Cors implementation on the back end app.use( cors({ origin: websiteDomain, allowedHeaders: ["content-type", ...supertokens.getAllCORSHeaders()], methods: ["GET", "PUT", "POST", "DELETE"], credentials: true, }) ); and my Supertokens init supertokens.init({ framework: "express", supertokens: { // TODO AARON - in production need to swap this with the connection for supertokens connectionURI: configData.superTokens.connectionURI, apiKey: configData.superTokens.apiKey, }, appInfo: { appName: "Bitcoiner Freelance", apiDomain: apiDomain, websiteDomain: websiteDomain, apiBasePath: "/auth", websiteBasePath: "/auth", },
b
r
  • 2
  • 9
  • 28
I want to create a new user context that includes a request in golang, how can i do that?
e

Erick

about 2 years ago
I want to create a new user context that includes a request in golang, how can i do that?
e
r
  • 2
  • 15
  • 28
I'm running a Supertokens managed instance in production (on my Flask Python backend, which is hoste...
a

Alec Xiang

over 2 years ago
I'm running a Supertokens managed instance in production (on my Flask Python backend, which is hosted on Google Cloudrun). Since it's inconvenient to access the dashboard URL through cloudrun, I found I can run my backend locally (with production flags set) and then access the production dashboard at http://localhost:8000/auth/dashboard Is this recommended / might this interfere with the instance running on prod? (e.g. if limited connections to the Supertokens instance is permitted at once)
a
r
  • 2
  • 1
  • 28
<@498057949541826571> hello, I was using the supertoken 3.14 version it was working fine then switch...
p

porcx

over 2 years ago
@rp_st hello, I was using the supertoken 3.14 version it was working fine then switched to latest version it broke down and i am getting this error recently org.postgresql.util.PSQLException: ERROR: column "use_static_key" of relation "session_info" does not exist
p
r
  • 2
  • 2
  • 28
Hello everyone I have been trying to find a solution for many days, but without success. Please help...
d

denism1104

over 2 years ago
Hello everyone I have been trying to find a solution for many days, but without success. Please help me fix this error: ( ERROR [ExceptionHandler] Please make sure that the apiDomain and websiteDomain have correct values)
d
r
  • 2
  • 18
  • 28
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
  • 28
Hi, I have a simple web application and I am trying to perform login and get session information lik...
a

aarron28_

over 2 years ago
Hi, I have a simple web application and I am trying to perform login and get session information like getting the access token When I try to run the code below, it show error which is no instance of session found. Make sure to call session.init method. How should I be logging in and getting the session object? session_provider :async() => { supertokens.init({ appInfo: { apiDomain: "https://aarron28.com", apiBasePath: "/auth", appName: "Test App" }, recipeList: [ supertokensSession.init({ tokenTransferMethod: "header" // or "cookie" }), supertokensSession.init(), supertokensEmailPassword.init(), ], }); var aaa = await supertokensEmailPassword.signIn({ "formFields": [{ "id": "email", "value": "lucas333" }, { "id": "password", "value": "pas123" }] }); supertokensSession.getAccessToken(); return aaa; }
a
r
n
  • 3
  • 38
  • 28
Hey, I have a website and a chrome extension. What i want to do is when the user logins inside the w...
k

kumar_ayush

almost 3 years ago
Hey, I have a website and a chrome extension. What i want to do is when the user logins inside the website, he should automatically login inside the extension as well. This is a business project.
k
r
  • 2
  • 21
  • 28
I just posted to production. Been developing localhost with nextjs. When in production I'm getting t...
f

funk101

over 3 years ago
I just posted to production. Been developing localhost with nextjs. When in production I'm getting this error:
has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
I'm wondering if it has something to do with
NextCors
middleware? Any ideas?
f
a
r
  • 3
  • 213
  • 28
Previous242526Next

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