https://supertokens.com/ logo
Docs
Join the conversationJoin Discord
Channels
community
contributing
general
github-activity
info
introductions
new-releases
random
security
support-questions
welcome-0xdelusion
welcome-aj-ya
welcome-aleksandrc
welcome-alpinjs
welcome-amberlamps1
welcome-andrew-rodriguez
welcome-ankit-choudhary
welcome-anthony-stod-custodio
welcome-call-in
welcome-chwalbox
welcome-claybiokiller
welcome-co7e
welcome-cosmoecwsa
welcome-devdag
welcome-dinso
welcome-drebotelho
welcome-elio
welcome-ernest
welcome-foxbarrington
welcome-fromscratch
welcome-galto4ir
welcome-goetzum
welcome-hay-kot
welcome-himanshu-kukreja
welcome-hossambarakat
welcome-ichikawakazuto
welcome-jahir9991
welcome-jamesl
welcome-jerry123424
welcome-john-oliver
welcome-jonas-alexanderson
welcome-jxyz
welcome-kelvinwop
welcome-kraz
welcome-lancekey
welcome-leoo
welcome-lukeacollins
welcome-m-j-mon
welcome-malik-khoja
welcome-marco
welcome-mardadi
welcome-meshguy
welcome-metamorph
welcome-mike-tectu
welcome-mirzok
welcome-mozomig
welcome-naberyou66_
welcome-nacer
welcome-namratha
welcome-naveenkumar
welcome-nightlight
welcome-nischith
welcome-notankit
welcome-olawumi
welcome-pavan-kumar-reddy-n
welcome-pineappaul
welcome-poothebear
welcome-rick
welcome-samuel-qosenergy
welcome-samuelstroschein
welcome-shubhamgoel23
welcome-shubhamkaushal
welcome-sidebar
welcome-surajsli
welcome-suyash_
welcome-syntaxerror
welcome-tauno
welcome-tauno
welcome-tawnoz
welcome-teclali
welcome-tls
welcome-turbosepp
welcome-vikram_shadow
welcome-yann
Powered by Linen
support-questions
  • r

    rp

    07/12/2022, 10:50 AM
    Verifying a session from a different backend
  • c

    constantinos

    07/12/2022, 1:46 PM
    After fixing the cors issue, now the session doesnt last for long (maybe 30 minutes) on the second front-end. Its as if the access token doesnt refresh automatically. Anything special I need to do?
    r
    • 2
    • 20
  • s

    showtim3

    07/12/2022, 9:45 PM
    Hey @rp does Supertokens support Saml using BoxyHq with passwordless recipe?
    r
    • 2
    • 12
  • s

    showtim3

    07/12/2022, 10:31 PM
    Also, any estimates on SSO?
  • r

    rp

    07/13/2022, 3:56 AM
    SAML with passwordless
  • r

    rp

    07/13/2022, 3:56 AM
    SSO (us being an OAuth provider) should be available in 2-3 months
    s
    • 2
    • 8
  • e

    execreate

    07/13/2022, 5:01 AM
    Hey guys, I am using
    supertokens-python==0.8.2
    with
    Django==4.0.6
    and resend code is not working for passwordless. Is it a known issue for python SDK version I am using? It is a POST request from frontend to the URL
    signinup/code/resend
    with
    preAuthSessionId
    and
    deviceId
    payload. The response says
    "status": "OK"
    with 200 status, and the code is not being delivered. I cannot see any logs on the backend that indicate code resend attempt.
    r
    k
    • 3
    • 17
  • s

    showtim3

    07/13/2022, 12:29 PM
    SSO us being an OAuth provider should be
  • e

    EdwinN1337

    07/14/2022, 7:40 AM
    hey, we're trying to add apple as a third party provider (since apple don't allow social login if you don't have apple as option) when we add apple as provider we get the famous
    [object Object]
    error, can't figure out why
    r
    • 2
    • 57
  • f

    Funtime3Freddy3

    07/14/2022, 11:29 AM
    I want to make that users logged on the main domain to be logged in on the subdomains as well with the same account and how do I install supertokens on there?
    r
    • 2
    • 10
  • f

    Funtime3Freddy3

    07/14/2022, 11:29 AM
    Also I'm using Hostinger
  • s

    sharma

    07/14/2022, 4:34 PM
    can we have non-minified version of web-js sdk in the bundle on jsdeliver, it will be easier to debug. currently it is minified
    r
    • 2
    • 2
  • r

    rp

    07/14/2022, 4:57 PM
    No minified version of web js
  • s

    segidev

    07/15/2022, 11:14 AM
    Hey there, is there a way to let supertokens use int / bigint instead of uuid as the primary key for the email_passwords table (and probably all other)? Like
    user_id
    would be 1 instead of "uq814uq-81412...."
    r
    • 2
    • 25
  • h

    HarryET

    07/15/2022, 3:44 PM
    👋🏼 Does super tokens support B2B easily similar to Auth0?
    r
    • 2
    • 8
  • p

    paschal

    07/16/2022, 6:28 AM
    Hey all, Any idea how to implement SuperTokens with Chrome extensions? I am stuck trying to get it to work.
    r
    • 2
    • 23
  • n

    Naf

    07/16/2022, 1:24 PM
    Does
    supertokens-web
    attempt a refresh on all 401s by default, or only when other response headers are also found (e.g.
    rid
    )? I saw my front-end looping requests when my API sent back an explicit 401 (not from
    supertokens-node
    , but from my own controller). It's fixed if I set the
    sessionExpiredStatusCode
    , but I thought there would be some other logic besides attempting a refresh on all 401s. Is this intended? I'm on
    "supertokens-website": "^10.1.0",
    and
    "supertokens-node": "^9.2.3"
    r
    • 2
    • 2
  • r

    rp

    07/16/2022, 6:09 PM
    Infinite loop 401
  • d

    doei

    07/17/2022, 3:46 PM
    Hi, I'm using a library for generating a typed api-client on my frontend (swagger-typescript-api), however it seems that the headers required by supertokens aren't set when using it. I don't understand why because the generated client uses fetch internally, which should be monkeypatched by supertokens (or so I understand) I also get an infinite loop of unauthorized requests. I am using the ThirdParty recipe. Do you know how I could fix this ?
    r
    • 2
    • 61
  • m

    mamousavi

    07/17/2022, 3:55 PM
    Hey. I really like this library especially the passwordless recipe. One thing that doesn't quite make sense to me is that most auth solutions are implemented as a standalone API service which the frontend can directly talk to, but with ST you have to implement the endpoints using the backend sdk which is perfectly fine but that essentially renders the core useless. In theory you can just integrate all of the functionalities of the core directly into the backend sdk and completely get rid of an additional service.
    r
    n
    w
    • 4
    • 30
  • n

    Naf

    07/17/2022, 4:05 PM
    Thoughts on adding an event on
    supertokens-web
    when the user's payload changes? Right now I'm getting around it by refreshing the session and doing what I need to do in that event handler, but it would be nice to have its own event action
    r
    • 2
    • 2
  • n

    Noobster123

    07/17/2022, 6:13 PM
    Hello, what should I put in the websiteDomain appInfo on the init method of supertokens-node if I want localhost and the actual website to be able to use the same auth server?
    r
    • 2
    • 8
  • s

    sharma

    07/18/2022, 1:18 AM
    Getting this error on calling
    supertokensEmailPassword.resetPassword
    emailpassword.js:1 Uncaught (in promise) Error: SuperTokensWindowHandler must be initialized before calling this method.
        at e.getReferenceOrThrow (emailpassword.js:1:105686)
        at t.getQueryParams (emailpassword.js:1:35831)
        at Object.getResetPasswordTokenFromURL (emailpassword.js:1:22726)
        at e.getResetPasswordTokenFromURL (emailpassword.js:1:14504)
        at resetPassword (reset-password?token=NjJjZTUxOTA2MWI2NmE5NmQ2NzYyNjlmOWQyOWE1OTVhZGJiNTYxNWU5NDk3YzU2ZDJlYjNhNTJkYmRkMzU4ZjYwMzM4YmJlOGZkODcyNTRhN2Y0ODQ1YmNkNDZjMmEw&rid=emailpassword:25:70)
    r
    n
    • 3
    • 17
  • r

    rp

    07/18/2022, 4:16 AM
    Password reset error
  • w

    wdjzr

    07/18/2022, 12:36 PM
    Hello, I am using the frontend token payload to store user role and I am using this payload to check for access role in the backend, how safe is this approach? I manipulated the frontend token to change the role but the backend still sees my correct, true role instead of the manipulated role. So I assume this is safe?
    r
    • 2
    • 3
  • w

    wdjzr

    07/18/2022, 12:37 PM
    By manipulation I mean, I base64 decoded the payload and changed it and encoded again and manually changed the cookie
  • m

    majortom

    07/18/2022, 1:01 PM
    Curious about plans for a Swift SDK and a VueJS SDK?
    r
    • 2
    • 1
  • n

    Noobster123

    07/18/2022, 2:32 PM
    Hi quick and dumb question what routes does the backend have just so I can check if it's running or not (using GET request)? E.g. /api/auth/something
    r
    • 2
    • 8
  • a

    aV

    07/18/2022, 5:25 PM
    hey @rp can you add an integration example with go-zero https://github.com/zeromicro/go-zero
  • r

    rp

    07/18/2022, 5:37 PM
    Hey @aV we can. Can you open an issue about this on our GitHub?
Powered by Linen
Title
r

rp

07/18/2022, 5:37 PM
Hey @aV we can. Can you open an issue about this on our GitHub?
View count: 1