https://supertokens.com/
Join Discord
Hi, I'm kind of lost when trying to get session information in `getServerSideProps` with NextJS, my ...
d

demisel

about 2 years ago
Hi, I'm kind of lost when trying to get session information in
getServerSideProps
with NextJS, my calls to
SessionNode.getSession(req, res)
end up with an error that says
SessionError: Session does not exist. Are you sending the session tokens in the request with the appropriate token transfer method?
I guess something may be wrong with my config. I am not sure whether `config.supertokens.connectionURI`should be an url that points to a supertokens core, or a supertokens backend, but either gives the same result. When looking at my developper console, I see the cookies being sent to my nextjs app. Any advice on how to solve this ?
d
r
  • 2
  • 50
  • 200
Hi, I have just enabled SSO and email verification. When I try and sign up with a microsoft email us...
a

AngusParsonson

over 1 year ago
Hi, I have just enabled SSO and email verification. When I try and sign up with a microsoft email using SSO, it asks me to verify my email, but the email is not sent to my microsoft email. Email verification is working for the regular accounts.
a
r
  • 2
  • 70
  • 194
Hey all, Any idea how to implement SuperTokens with Chrome extensions? I am stuck trying to get it ...
u

_paschal

almost 3 years ago
Hey all, Any idea how to implement SuperTokens with Chrome extensions? I am stuck trying to get it to work.
u
r
  • 2
  • 23
  • 183
Hello guys, I am using Supertokens with MongoDB Backend, I have configured everything according to t...
u

24kmagic6086

over 2 years ago
Hello guys, I am using Supertokens with MongoDB Backend, I have configured everything according to the Docs, And now when I try to SignIn, I am shown "Something went Wrong" Error. So I have checked the Logs from the docker container, and I see the attached errors. I am able to verify that both key_value pair, and jwt_signing_keys collections are created. Also attaching the supertokens-core docker compose config for your reference: supertokenscore: container_name: supertokenscore image: registry.supertokens.io/supertokens/supertokens-mongodb restart: always networks: - localnw environment: SUPERTOKENS_PORT: 3568 MONGODB_CONNECTION_URI: mongodb://user:password@0.0.0.0:27017 MONGODB_DATABASE_NAME: testdb PASSWORDLESS_MAX_CODE_INPUT_ATTEMPTS: 2 PASSWORDLESS_CODE_LIFETIME: 300000 REFRESH_TOKEN_VALIDITY: 15 ACCESS_TOKEN_VALIDITY: 300 ports: - "3568:3568"
u
r
  • 2
  • 13
  • 178
Hi I want to expire the access token after every two hours and when frontend tries with refresh tok...
k

krrishan

over 1 year ago
Hi I want to expire the access token after every two hours and when frontend tries with refresh token , Will it create a new accesstoken and session for the user . I want to customise this flow if customer tries with refresh token , where can I do that in nest js. Also how to set expiration time locally
k
r
  • 2
  • 17
  • 176
hi! I am very baffled about the django documentation. I want to build the equivalent of this in Dja...
p

possum 🐘🤓🐘

over 2 years ago
hi! I am very baffled about the django documentation. I want to build the equivalent of this in Django DRF: https://passwordless.demo.supertokens.com/auth/ This seems like some half-finished thing that does nothing except report unauthorized at : https://github.com/supertokens/supertokens-python/tree/master/examples/with-django/with-thirdpartyemailpassword And this appears to be a generic description of how to setup django auth and has nothing particularly to do with Super Tokens: https://supertokens.com/blog/django-bootstrap-login-template I don't get it. Does Super Tokens work with Django Session or DRF JWT middleware or not?
p
r
k
  • 3
  • 11
  • 172
I'm looking into SuperTokens for an app I coded using Hono on Node (https://hono.dev/). I see that i...
u

.a.t.n.

about 1 year ago
I'm looking into SuperTokens for an app I coded using Hono on Node (https://hono.dev/). I see that it's not one of the frameworks that currently have a middleware (like Express or Fastify). I saw in the codebase that there is also a directory for a "custom" framework but couldn't find any documentation on how it's supposed to be used. Would it be a good way to integrate with Hono or should code the middleware for Hono taking the one from Express as example ? Would it be an interesting contribution ?
u
r
  • 2
  • 5
  • 166
Hey, I've been hit with "`Access to fetch at 'https://[backend-url]/auth/signin' from origin 'https:...
t

texoport

over 2 years ago
Hey, I've been hit with "`Access to fetch at 'https://[backend-url]/auth/signin' from origin 'https://[frontend-url]' has been blocked by CORS policy: 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`" and I can't really seem to solve it. I'm able to sign up users but not login.
t
r
  • 2
  • 19
  • 165
hello every one, since 3 days i'm try to integrate Supertokens to my distributed app(the frontend is...
z

zaker237

almost 3 years ago
hello every one, since 3 days i'm try to integrate Supertokens to my distributed app(the frontend is with Vuejs and the backend is with flask) i'm starting the whole system with docker-compose en using supertoken Email-Password + Social. it starts without problems, but when the users are redirected after the login process i become an error in the frontend(something went wrong) and an Exception in the backend(supertokens_python.exceptions.GeneralError: No SuperTokens core available to query). please do someone have any idear on how to fix that?
z
r
  • 2
  • 57
  • 165
Hi! I am running into a problem on the backend... My sessions are getting created just fine, and I ...
d

dleangen

almost 3 years ago
Hi! I am running into a problem on the backend... My sessions are getting created just fine, and I can use them on the frontend without any problems. However, when I try to use the verifySession() middleware in the backend, it is returning
session = undefined
. I suspect that it is a configuration issue. I am using Firebase Functions, and this is a different function (so a different route / endpoint). Still, I have not been able to successfully configure... Any thoughts?
d
r
  • 2
  • 122
  • 162
Previous234Next

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