https://supertokens.com/
Join Discord
Hello 👋 First of all, thank you very much for this great product 🚀 I was wondering if it was pos...
t

tinque1

about 2 years ago
Hello 👋 First of all, thank you very much for this great product 🚀 I was wondering if it was possible to switch my cloud instance to ipv6? Thank you in advance.
t
r
k
  • 3
  • 17
  • 29
Is there an easy way to bypass passwordless authentication for security scans? We were looking to us...
p

puff6248

about 2 years ago
Is there an easy way to bypass passwordless authentication for security scans? We were looking to use zap just in our development environment for security testing but wasnt sure on the best way for it to bypass auth. We were thinking we might just have to create another login page thats username/password for the zap user.
p
r
  • 2
  • 4
  • 29
Hi, Do I need to add user metadata by hand to the access token as custom claim?
t

trivialkettle

over 2 years ago
Hi, Do I need to add user metadata by hand to the access token as custom claim?
t
r
  • 2
  • 5
  • 29
Hi guys, any idea why when i'm hosting the core myself, even tho my connection string to pgsql is co...
t

TeK

over 2 years ago
Hi guys, any idea why when i'm hosting the core myself, even tho my connection string to pgsql is correct it uses in-memory db ? Is there a way to get more logs when starting up ? I only get :
Loading supertokens config.
Completed config.yaml loading.
Loading storage layer.
Using in memory storage.
Loading supertokens version.yaml file.
Started SuperTokens on localhost:3567 with PID: 15384
t
r
  • 2
  • 18
  • 29
Hi there, I am thinking about using supertokens for our intenal admin app. We don't want to allow ou...
j

jamalm8656

over 2 years ago
Hi there, I am thinking about using supertokens for our intenal admin app. We don't want to allow our users to signup, but want to create users through the user management dashboard. Is that supported?
j
n
  • 2
  • 5
  • 29
Hello, I want to know if supertokens support disabling private signup like https://docs.propelauth...
b

behanzin777

over 2 years ago
Hello, I want to know if supertokens support disabling private signup like https://docs.propelauth.com/overview/disable-public-signups
b
r
  • 2
  • 4
  • 29
Is there a simple way of retrieving a user email once they've signed in in the same way you retrieve...
k

Kranos

over 2 years ago
Is there a simple way of retrieving a user email once they've signed in in the same way you retrieve userId with
await Session.getUserId()
? I couldn't see how to do it from the Get User Info documentation: https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/get-user-info
k
r
  • 2
  • 3
  • 29
Hello, I'm using FastAPI and my goal is to implements by myself the route /auth/signup because I wan...
a

Arti

over 2 years ago
Hello, I'm using FastAPI and my goal is to implements by myself the route /auth/signup because I want it to be visible on the open-api swagger. Currently I don't have a front-end, so I'm only using the swagger. I'm struggling with get_session and create_new_session. After I log-in, get_session always returns None.
py
class UserRegisterModel(BaseModel):
    email: str
    password: str


@router.post('/register')
async def register_user(
    request: Request,
    user: UserRegisterModel,
):
    email_password_quertier = Querier.get_instance('emailpassword')
    path = NormalisedURLPath('/recipe/signup')
    response = await email_password_quertier.send_post_request(path, user.dict())
    if response.get('status') == 'OK':
        user_id = response['user']['id']
        session = await create_new_session(
            request,
            user_id
        )
        return True
    raise Exception('user exists')

@router.post('/like_comment') 
async def like_comment(request: Request):
    session = await get_session(request, session_required=False)

    if session is None:
        raise Exception("Should never come here")
    user_id = session.get_user_id()

    print(user_id)
a
r
  • 2
  • 17
  • 29
Hey I'm trying to redirect the user to different url after logging in, its working fine with otp lo...
s

shri4953

about 3 years ago
Hey I'm trying to redirect the user to different url after logging in, its working fine with otp login (to do this i am passing different url in redirectToPath=someUrl), but google login success does not redirect (redirectToPath becomes empty string). following this guide https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/redirecting-post-login i couldn't find something similar with the Session recipe which i would like to support as well
s
r
  • 2
  • 2
  • 29
Anywhere that I could find a example of using Vanilla JS to create custom UI?
s

Swiftzerr

over 3 years ago
Anywhere that I could find a example of using Vanilla JS to create custom UI?
s
r
+3
  • 5
  • 98
  • 29
Previous383940Next

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