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

    rp

    03/26/2020, 10:56 AM
    sure. We can have the call now. Though I have never used discord video call.. So i might be a little new to that. haha
  • s

    Sun Walker

    03/26/2020, 10:56 AM
    Neither have I🥴
  • r

    rp

    03/26/2020, 10:57 AM
    let's try it out!
  • r

    rp

    03/26/2020, 10:57 AM
    DMed you.
  • s

    Sun Walker

    03/26/2020, 12:10 PM
    Hey can you give my Reddit post an upvote or two? https://www.reddit.com/r/node/comments/fpae2k/i_was_recommended_supertokens_for_auth_in_reddit/
  • r

    rp

    03/26/2020, 12:13 PM
    oh! this is great. thank you!!
  • r

    rp

    03/26/2020, 12:13 PM
    Will get it upvoted 🙂
  • r

    rp

    03/26/2020, 12:14 PM
    🙂 🙂
  • r

    rp

    03/26/2020, 12:15 PM
    it's quite well written!
  • s

    Sun Walker

    03/26/2020, 12:24 PM
    Anything you want me to include that I missed, lmk
  • r

    rp

    03/26/2020, 12:25 PM
    It's great! If there is anything, I shall let you know.
  • r

    rp

    03/26/2020, 1:51 PM
    hey @User , please find the postgreSQL docker images here: https://hub.docker.com/r/supertokens/supertokens-postgresql
  • s

    Sun Walker

    03/26/2020, 2:58 PM
    Awesome stuff!, do you recommend to use this during dev or later on in development?
  • r

    rp

    03/26/2020, 3:01 PM
    use it during dev as well. Personally, I always prefer docker.
  • r

    rp

    03/26/2020, 3:01 PM
    If you find any issues with it, please let me know
  • r

    rp

    03/26/2020, 3:03 PM
    But you can hold on to your setup for now - until we have all the docker docs done. I shall let u know
  • s

    Sun Walker

    03/26/2020, 3:03 PM
    Just about to ask, I think ill wait for docs
  • s

    Sun Walker

    03/26/2020, 3:03 PM
    yeah!
  • r

    rp

    03/26/2020, 3:03 PM
    👍
  • s

    Sun Walker

    03/27/2020, 8:48 PM
    Hey RP, quick question: Does 'getSession()' call the DB? and one more important question: /refreshSession endpoint can be called an infinite number of times, making as many sessions as you want, shouldnt this only be able to be called when the previous session has expired?
  • s

    Sun Walker

    03/27/2020, 8:48 PM
    (infinite number of times until refresh token has expired, but still)
  • s

    Sun Walker

    03/27/2020, 8:49 PM
    last question: at one point will we be able to replace all of this with redis, as it's faster or is that less secure?
  • r

    rp

    03/27/2020, 8:49 PM
    getSession deosn't call the db 99% of the time. /refreshSession will yield a new token in db like you say
  • r

    rp

    03/27/2020, 8:49 PM
    but thats only in the community version
  • r

    rp

    03/27/2020, 8:49 PM
    in the pro one, it doesn't create new tokens in the db.
  • r

    rp

    03/27/2020, 8:49 PM
    which is an optimisation
  • s

    Sun Walker

    03/27/2020, 8:50 PM
    shouldnt /refreshSession be limited to only working once the previous session has expired?
  • r

    rp

    03/27/2020, 8:53 PM
    Since the access token is not sent to this API, there is no way of knowing that if we should allow this API to return a new refresh token or not, based on the access token's expiry. So we make it so that for each call to this API, a new refresh token is generated (which also adds more security).
  • r

    rp

    03/27/2020, 8:53 PM
    The reason the access token is not sent it cause when it expires, the browser doesn't send it anymore.
  • s

    Sun Walker

    03/27/2020, 8:54 PM
    the browser doesn't send it anymore.
    Due to the SDK or that's just how browser works?
Powered by Linen
Title
s

Sun Walker

03/27/2020, 8:54 PM
the browser doesn't send it anymore.
Due to the SDK or that's just how browser works?
View count: 2