https://supertokens.com/
Join Discord
If SuperTokens Core is being hosted locally, is there a way to enforce that calls to it can only com...
i

ITEnthusiasm

about 3 years ago
If SuperTokens Core is being hosted locally, is there a way to enforce that calls to it can only come from
localhost
? (That is, only the local web app can make calls to it and no one else.) I know we have the API keys. But theoretically, enforcing that only
localhost
is allowed would add additional safety, right? 🤔
i
r
  • 2
  • 11
  • 26
NextJS Session Recipe Documentation
a

atoyebs

over 3 years ago
NextJS Session Recipe Documentation
a
r
  • 2
  • 19
  • 26
On flutter it is possible to log in with your email/username and password. Then after checking his i...
r

ROMAIN

over 3 years ago
On flutter it is possible to log in with your email/username and password. Then after checking his information, asked for the second authentication factor(example: totp/email/sms)
r
r
  • 2
  • 3
  • 26
hello.<@498057949541826571> when resetting password, how can I detect if newPassword is the same as...
t

tomita0022

over 1 year ago
hello.@rp_st when resetting password, how can I detect if newPassword is the same as old one? supertokens server is selfhosted, and is seperated from api backend. the only receives when resetting password are just password and token.
t
r
  • 2
  • 42
  • 25
<@498057949541826571> Why does it take time to validate role claim? I signed up a user, added a r...
a

albatroz

over 1 year ago
@rp_st Why does it take time to validate role claim? I signed up a user, added a role got this log
roles.go:94: [Info] Role added to user: &{false} with user_id:702116bc-1a9f-4a1c-b71e-3d74d9c0fce4 role: admin
but i can't call endpoint with role claim validator it eventually works, but i am not sure about the exact time calling this returns role as admin
go
    admin.Get("/auth/role", func(c *fiber.Ctx) error {
        sessionContainer := session.GetSessionFromRequestContext(c.UserContext())

        response, err := userroles.GetRolesForUser("public", sessionContainer.GetUserID(), nil)

        if err != nil {
            log.Errorf("Error getting roles: %v", err)
            return util.ReturnError(c, 500, "Error getting roles")
        }
        return util.ReturnSuccess(c, response.OK.Roles)
    })
a
r
  • 2
  • 3
  • 25
Hey Hi guys, Actually we are running self-hosted supertokens in docker. W got an issue like initial ...
b

basheer_ops

over 1 year ago
Hey Hi guys, Actually we are running self-hosted supertokens in docker. W got an issue like initial some days I can find "add user" button in user management dashboard to add users but after some days it is not showing. We have done R&D but didn't find any solution. What was the issue or did I miss any configuration?
b
r
p
  • 3
  • 15
  • 25
https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/sessions/handling-session...
f

flaskdev

about 2 years ago
https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/sessions/handling-session-expiry Can I use this handler with Next.js 13/14?
f
r
  • 2
  • 1
  • 25
hi, <@498057949541826571> We encountered this error when we tried to log in. But we did not make any...
p

phenomenal_moose_56739

about 2 years ago
hi, @rp_st We encountered this error when we tried to log in. But we did not make any changes to supertokens that would affect this. why could this be? SuperTokens core threw an error for a request to path: '/public/recipe/signin' with status code: 403 and message: Email password login not enabled for tenant.
p
r
z
  • 3
  • 13
  • 25
Hello, I have issues with the sign out function Frontend : React Backend : FastAPI I get a 200 from...
n

nano_ck

over 2 years ago
Hello, I have issues with the sign out function Frontend : React Backend : FastAPI I get a 200 from the sign out request but the user is still signed in
n
r
  • 2
  • 23
  • 25
How to associate both email and phoneno in passwordless?
u

_rajar

over 2 years ago
How to associate both email and phoneno in passwordless?
u
r
  • 2
  • 8
  • 25
Previous515253Next

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