https://supertokens.com/
Join Discord
Hello, Sometimes i am getting the error `supertokens_python.exceptions.GeneralError: No SuperTokens ...
l

Luca

about 3 years ago
Hello, Sometimes i am getting the error
supertokens_python.exceptions.GeneralError: No SuperTokens core available to query
. Is this caused by network issues? (i am using the managed service)
l
r
  • 2
  • 7
  • 63
Hello, I am having issue with API /signinup, it is being called twice, already looked at other discu...
h

hwihwi

almost 2 years ago
Hello, I am having issue with API /signinup, it is being called twice, already looked at other discussions in here but I still don't know how to prevent I am using SuperTokens Core (Managed) v7.0, front-end I am using React with "supertokens-auth-react": "0.31.5", back-end is ExpressJS with "supertokens-node": "13.6.0"
h
r
  • 2
  • 11
  • 62
Hello, I've been struggling to make the setup for Next.js with Edge Functions work. When following t...
y

yves404

about 2 years ago
Hello, I've been struggling to make the setup for Next.js with Edge Functions work. When following the new Next.js setup instructions, using a session guard for an API route works until that route is an edge funtion. To reproduce I updated the example you have linked and added
export const runtime = 'edge';
to the user route https://github.com/supertokens/next.js/blob/canary/examples/with-supertokens/app/api/user/route.ts This now causes the error
Module not found: Can't resolve 'zlib'
(same for
querystring
and
crypto
). e.g. when running in dev or even during build. Which i think is strange since the middleware uses withSession without issues an is supposed to be the same edge runtime. The only "workaround" I found was to tell webpack to stop polyfilling (with config below). But that breaks things elsewhere. Have you (or someone else in here) had similar experiences or a better solution? Any recommendations going forward for Next.js Edge Functions?
const nextConfig = {
  webpack(config) {
    config.resolve.fallback = {
      ...config.resolve.fallback,
      crypto: false,
      querystring: false,
      zlib: false,
    };

    return config;
  },
}
y
r
p
  • 3
  • 9
  • 62
Hi 👋 . I'm setting up supertokens with Next.js for the first time and have a basic question. In SSR...
p

petrgazarov

over 2 years ago
Hi 👋 . I'm setting up supertokens with Next.js for the first time and have a basic question. In SSR setup (https://supertokens.com/docs/thirdparty/nextjs/session-verification/in-ssr), the "needs-refresh" prop is added so that would "force the frontend to try and refresh". Is there a way for this to be done on the server? If done on the FE, I think that means SSR isn't really working as it should.
p
r
  • 2
  • 21
  • 62
hello everyone, I wanted to implement social login with custom UI, but i am getting below error auth...
a

anuj6163

over 1 year ago
hello everyone, I wanted to implement social login with custom UI, but i am getting below error auth.service.ts:24 GET http://localhost:8000/api/auth/authorisationurl?thirdPartyId=google&redirectURIOnProviderDashboard=http%3A%2F%2Flocalhost%3A8000%2Fauth%2Fcallback 400 (Bad Request) {"message":"the provider google could not be found in the configuration"} i am using fastapi for backend and angular for frontend fastapi this is my RecipeList RECIPE_LIST = [ session.init(), thirdpartyemailpassword.init( sign_up_feature = thirdpartyemailpassword.InputSignUpFeature( form_fields=[InputFormField(id='email'), InputFormField(id='password'), InputFormField(id='firstName'), InputFormField(id='lastName'), InputFormField(id='phone') ], )), thirdparty.init( sign_in_and_up_feature=thirdparty.SignInAndUpFeature(providers=[ ProviderInput( config=ProviderConfig( third_party_id="google", clients=[ ProviderClientConfig( client_id="1060725074195-kmeum4crr01uirfl2op9kd5acmi9jutn.apps.googleusercontent.com", client_secret="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", ), ], ) ) ]) ), dashboard.init() ]
a
r
r
  • 3
  • 13
  • 61
Hello, i have a little problem with cors policy settings. Everytime i login in, i get errors below. ...
j

JustDante

about 3 years ago
Hello, i have a little problem with cors policy settings. Everytime i login in, i get errors below. Backend is written with expressjs, front end with react.
j
r
  • 2
  • 45
  • 61
Hi, i try to use supertokens on nuxtjs with nuxt-auth. i have write a custom scheme extends cookies ...
j

joelc611

over 3 years ago
Hi, i try to use supertokens on nuxtjs with nuxt-auth. i have write a custom scheme extends cookies scheme. The question is, can i use "sIRTFrontend" to determine whether the session is alive on the middleware checking?
j
r
  • 2
  • 23
  • 61
Hello, we are pretty new to SuperTokens and I am exploring its capabilities. We are trying to implem...
y

y.s_

about 2 years ago
Hello, we are pretty new to SuperTokens and I am exploring its capabilities. We are trying to implement 2 ways of communication with SuperTokens. 1. Our frontend to our backend. (Should be fine) 2. Third party to our backend. Right now, I am trying to implement the 2nd one, I tried to use the emailpassword way to do it to test. Basically I created a signin function to send post request with the email and password to the Middleware, get the response and set up the cookies (access, front and refresh token), same for signout and signup. The problem I am having is that whenever the access token expired (refresh token is still alive), it won't generate new access token (even though I sent a request to the /auth/session/refresh). Another question is there a suggested way to implement third party to our backend communication authentication with SuperTokens?
y
r
  • 2
  • 41
  • 60
Hi, Can I use SuperTokens with Traefik ForwardAuth?
h

hamade

over 2 years ago
Hi, Can I use SuperTokens with Traefik ForwardAuth?
h
r
  • 2
  • 7
  • 60
<@498057949541826571> need support, when we deploy Supertoken core to decrease access token validity...
u

[CATs] ya ong | [GUnS] bakins

over 1 year ago
@rp_st need support, when we deploy Supertoken core to decrease access token validity from 30 days to one hour, we've got this error:
jwt invalid: failed to deserialize token claims: could not get token claims: go-jose/go-jose: unsupported key type/format
that's happen when and after we deploy it. Any reason why?
u
r
  • 2
  • 9
  • 59
Previous131415Next

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