https://supertokens.com/
Join Discord
I want to use supertokens with AWS API gateway+lambda functions I tried following the recipe https...
s

saurabh_works

almost 3 years ago
I want to use supertokens with AWS API gateway+lambda functions I tried following the recipe https://supertokens.com/docs/emailpassword/serverless/with-aws-lambda/backend-config for the backend config, the tutorial says " Create a config.js file in the root directory of your project. " All I have are bunch of lambda functions called from API gateway. Where do I create these files? 🤔
s
r
  • 2
  • 20
  • 15
Hi, I'm trying to setup auth with my chrome extension, I've browsed past questions about this proble...
u

__doei__

about 3 years ago
Hi, I'm trying to setup auth with my chrome extension, I've browsed past questions about this problem, and it seems the most straightforward solution is to use jwt with localstorage. But there's a couple things I'm still wondering: - I've tried setting the
cookieSameSite
option to none, and I can see that it is indeed set with the option, however, when launching request from the extension, the cookies are not there, why is that the case ? - If choosing to use the jwt with localstorage approach, does it mean that refresh the session does not work anymore ?
u
r
  • 2
  • 84
  • 15
Is serverless self hosting of Super Tokens advisable? I see it can be downloaded as a docker file or...
a

Antfere3

about 3 years ago
Is serverless self hosting of Super Tokens advisable? I see it can be downloaded as a docker file or a binary. If I were to download either could I then deploy it to some cloud providers instance? If yes what instance hardware should I be targeting? I would likely need good long term storage for the database and some redundancy, besides that, is compute or memory important? Thanks in advance.
a
r
  • 2
  • 6
  • 15
hey guys, we are a little lost implementing auth for our capacitor apps (different domains)... Wha...
e

EdwinN1337

about 3 years ago
hey guys, we are a little lost implementing auth for our capacitor apps (different domains)... What's the usecase for the cookieHandler?
js
  supertokens.init({
    ...frontendConfig().appInfo,
    cookieHandler: capacitorCookieHandler,
  })
We are following this guide now, since our implementation didn't work as expected (due to lax cookies & safari webkit issue): https://supertokens.com/docs/thirdpartyemailpassword/advanced-customizations/examples/localstorage/about
e
r
r
  • 3
  • 79
  • 15
hey, I am not able to signup using apple, I am using ST apple account, it says connection refused, i...
a

alisha08770

about 3 years ago
hey, I am not able to signup using apple, I am using ST apple account, it says connection refused, it was working till yesterday
a
r
s
  • 3
  • 22
  • 15
I need to redirect to auth if a user is not logged in, I can use `ThirdPartyEmailPassword` to wrap m...
m

mwill8886

over 3 years ago
I need to redirect to auth if a user is not logged in, I can use
ThirdPartyEmailPassword
to wrap my components but when I try to access a protected route including url search params, only the base of the route is send to the auth page as the redirectToPath and does not include my url search params. I'd prefer not to roll my own wrapper, so is there a way to configure
ThirdPartyEmailPassword
to include url search params in the redirectToPath? If not, I figure i have to create my own wrapper that checks if the user is logged in. I've tried importing
supertokens-website
into my NextJS app,
import SuperTokens from 'supertokens-website'
, however whenever I try to access
SuperTokens.doesSessionExist()
i get an error stating that SuperTokens is undefined. I have initialized SuperTokens in the _app.ts file. I can use
supertokens-auth-react
but not
supertokens-website
.
m
r
  • 2
  • 7
  • 15
Hi team, I'm actually facing a problem.. I have a postgres instance running on a seperate container,...
u

24kmagic6086

over 3 years ago
Hi team, I'm actually facing a problem.. I have a postgres instance running on a seperate container, and I want to connect supertokens container to the postgres container. I think I am facing issue at POSTGRESQL_HOST.. This is my docker command: sudo docker run -p 3567:3567 -e POSTGRESQL_USER="postgres" -e POSTGRESQL_PASSWORD="postgres" -e POSTGRESQL_HOST="host" -e POSTGRESQL_PORT="5432" -e POSTGRESQL_DATABASE_NAME="supertokens" -d registry.supertokens.io/supertokens/supertokens-postgresql This is my postgres docker-compose.yml: version: '3' services: db: image: postgres:latest environment: POSTGRES_USER: user POSTGRES_PASSWORD: pass POSTGRES_DB: supertokens ports: - 5432:5432 networks: - db restart: unless-stopped supertokens: image: registry.supertokens.io/supertokens/supertokens-postgresql depends_on: - db ports: - 3567:3567 environment: POSTGRESQL_CONNECTION_URI : postgresql://user:pass@db/supertokens networks: - db restart: unless-stopped networks: db: driver: bridge
u
r
e
  • 3
  • 10
  • 15
If I want to be able to update user roles and permissions on each access token refresh request, whic...
e

execreate

over 3 years ago
If I want to be able to update user roles and permissions on each access token refresh request, which method in which recipe should I overwrite? Do you have relevant documentation on that? Is it
regenerate_access_token
method of session recipe?
e
r
  • 2
  • 19
  • 15
Hi I'm using Supertokens for passwordless authentication. My backend is Node JS and Frontend is Angu...
a

alen_george

over 3 years ago
Hi I'm using Supertokens for passwordless authentication. My backend is Node JS and Frontend is Angular. Im able to signup using the signinup and consume api call. But the issue is that I'm not able to create a session. Neither the cookie is getting stored in browser after the consume api call. when I checked the response header the set-cookie parameter is there. But its not storing the cookie. And When Im running the function getAccessTokenPayloadSecurely(), it throws the error session doesnt exist.
a
n
r
  • 3
  • 109
  • 15
How is the sIdRefreshToken used? Is it essential? Docs don’t give much detail
p

pitchash

over 3 years ago
How is the sIdRefreshToken used? Is it essential? Docs don’t give much detail
p
r
  • 2
  • 22
  • 15
Previous545556Next

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