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
general
  • r

    Rob Schilder

    07/18/2022, 12:50 PM
    Hi guys, I am the colleague of Edwin at de Lokalist, as he is on holiday, I am inheriting our production codebase with Supertokens configured. We are having an error on our Dashboard which is mostly internally used , the error being:
    ("Could not refresh session");
    What would be the best way to debug this?
    r
    • 2
    • 32
  • d

    doraig

    07/18/2022, 10:18 PM
    After post login is there a way to throw a error response if some conditions are not met
    r
    • 2
    • 3
  • d

    doraig

    07/19/2022, 12:20 AM
    Noticed that the api-key specified for the super token core is getting added in to the request header at the client side, wondering if this is right behaviour since I thought that the back end node app is proxying the call to super token core.
    r
    • 2
    • 3
  • r

    rp

    07/19/2022, 4:41 AM
    Post login error
  • r

    rp

    07/19/2022, 4:43 AM
    API key for supertokens
  • d

    doraig

    07/20/2022, 2:53 AM
    Is there a way to get the session handle at the client side ?
    r
    • 2
    • 2
  • r

    rp

    07/20/2022, 4:09 AM
    Getting session handle on the client side
  • j

    jj_

    07/20/2022, 6:36 PM
    hello , i am a supertoken user . i have integrated supertokens with my application. And using session context. i need to individually test react components for my unit test. but i cant seem to mock useSessionContext. could you please help me.
    r
    • 2
    • 3
  • d

    Dedox

    07/20/2022, 7:27 PM
    Good afternoon! I am new using Supertokens and have a very basic question I am working in a React + Express inventory app, and recently tested Supertoken with the EmailPassword recipe. It worked pretty well. I spinned up a MongoDB in Atlas and then I was wondering if it is ok to store the result of
    req.session.getUserId()
    on each db record, so when my endpoint
    "../products/all"
    get hitted, I can filter all the db records by UserId and return to my front-end only the products of the given user. Is this the right way to do it? Or maybe I am missing something? Thank you in advance
    r
    • 2
    • 2
  • d

    doraig

    07/22/2022, 6:13 AM
    Does supertoken use persistent cookies
    r
    • 2
    • 8
  • m

    magneze909

    07/22/2022, 7:45 PM
    Hi there, can Supertokens work with Nextjs and Strapi?
    r
    • 2
    • 2
  • r

    rp

    07/23/2022, 3:46 AM
    NextJS and strapi
  • d

    doraig

    07/24/2022, 5:51 AM
    I was using the session with jwt enabled , i noticed one thing that the jwt expiry is default to 1 hr, in-spite of adding ACCESS_TOKEN_VALIDITY
    r
    • 2
    • 8
  • d

    doraig

    07/24/2022, 9:10 PM
    I am using the thirdparty recipe with react, when performing the signOut function from client and if the access token is expired , it going in to an infinite loop of refresh and signout.
  • d

    doraig

    07/25/2022, 12:39 AM
    Never mind the issue was the with the cookie length limit set by browsers to 4096 byte length, so it keeps retrying , after the refresh the cookie is not set due to the limit.
    r
    • 2
    • 3
  • r

    rp

    07/25/2022, 3:55 AM
    Cookie size
  • d

    Dedox

    07/27/2022, 3:45 AM
    Hello everyone, I got another question. In a Express backend, can I use SuperTokens with ES6 module imports? I tried to do that but I am getting a bunch of
    Error [ERR_UNSUPPORTED_DIR_IMPORT]
    r
    • 2
    • 3
  • r

    rp

    07/27/2022, 4:10 AM
    Importing using es6 module
  • d

    doraig

    07/29/2022, 12:16 AM
    I am having issue configuring dynamic origin in cors config, does super token support this
    r
    • 2
    • 7
  • r

    rp

    07/29/2022, 4:23 AM
    Dynamic origin issue
  • d

    doraig

    08/03/2022, 9:18 PM
    In the setup for password less login (only email) to control the email to a specific domain is there like access control list or should i just use emailDelivery to override the implementation to check for the email domain?
    r
    • 2
    • 2
  • r

    rp

    08/04/2022, 4:06 AM
    Limit email to specific domain for passwordless
  • e

    engin

    08/04/2022, 10:49 AM
    Hi! I am using Angular, and I replaced the HttpClient with fetch. My understanding is that Session.init() is supposed to add interceptors to fetch to send session data along with each http request. Is my understanding correct? If it is, then how can I debug to figure out why session data is not being sent when I make a fetch request?
    r
    • 2
    • 39
  • e

    engin

    08/06/2022, 3:51 AM
    I have created a GitHub project. In exchange for all your help, my intent is to provide an article with a working demo for Angular/Firebase using SuperTokens so others can refer to it. However, the demo is not yet working. There are some issues with Sessions that I am unable to figure out. Here is the link: https://github.com/dleangen/supertokens-demo-1/tree/supertokens-ThirdPartyEmailPassword
    r
    • 2
    • 80
  • e

    engin

    08/14/2022, 9:08 AM
    Question about generating a JWT for Firebase
    r
    • 2
    • 19
  • e

    engin

    08/15/2022, 7:06 AM
    Questions about the docs...
    r
    • 2
    • 6
  • e

    engin

    08/16/2022, 5:24 AM
    Question about the Session recipe...
    r
    • 2
    • 5
  • v

    Vlad

    08/16/2022, 8:17 PM
    Hey guys, I was looking over the documentation and I couldn't find this anywhere. What's the difference between a idRefreshToken and a refreshToken?
    r
    • 2
    • 3
  • r

    rp

    08/17/2022, 4:18 AM
    IdRefreshToken vs refresh token
  • a

    azzlack

    08/17/2022, 1:04 PM
    Does SuperTokens work with MongoDB yet? (As in both login and session management)
    r
    • 2
    • 1
Powered by Linen
Title
a

azzlack

08/17/2022, 1:04 PM
Does SuperTokens work with MongoDB yet? (As in both login and session management)
r

rp

08/17/2022, 1:17 PM
Not yet unfortunately.
View count: 3