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

    10/11/2021, 11:19 AM
    We had removed it cause we are releasing a new version for flask in supertokens-python. But we can reupload the older version.
  • m

    Monyodam Thaung

    10/11/2021, 11:21 AM
    Oh Thank you so much, I used 1.4.0
  • m

    Monyodam Thaung

    10/11/2021, 11:26 AM
    @rp Can you reupload the old version? Sorry to disturb but I am currently using it. Thanks.
  • r

    rp

    10/11/2021, 11:26 AM
    Yea. We will.. sorry for the deletion. I'll reupload it.
  • r

    rp

    10/11/2021, 11:40 AM
    @User I have released 1.4.1 on pypi.
  • m

    mpicciolli

    10/11/2021, 1:33 PM
    Hi ! Can we have several authorized website domaine ?
  • r

    rp

    10/11/2021, 1:36 PM
    Yes. The value of this
    websiteDomain
    will be used to generate password reset or email verification links - so you should use that domain here (and on the frontend).
  • r

    rp

    10/11/2021, 2:26 PM
    If you are using emailpassword / thirdpartyemailpassword / thirdparty: In case that doesn't work for you, and you actually want to use multiple domains, then you can set this value to be anything you'd like (doesn't matter), as long as you override these functions (in the recipe init config): -
    resetPasswordUsingTokenFeature
    ->
    getResetPasswordURL
    function -
    emailVerificationFeature
    ->
    getEmailVerificationURL
    function --------------- If you are only using sessions, then you can set this value to be anything..
  • i

    Infatuation

    10/15/2021, 2:55 PM
    Any idea how I'd adapt Step 4 here for GoLang to Labstack Echo? https://supertokens.io/docs/thirdparty/quick-setup/backend
  • i

    Infatuation

    10/15/2021, 2:58 PM
    wait nvm it's like identical to chi i thnk
  • r

    rp

    10/15/2021, 2:59 PM
    Ah right! Okay
  • i

    Infatuation

    10/15/2021, 3:02 PM
    Oh it's not actually. I think I have to adapt the middleware to work with echo.
  • i

    Infatuation

    10/15/2021, 3:02 PM
    The cors config setup is identical though which is great! 🙂
  • r

    rp

    10/15/2021, 3:03 PM
    Right! Let us know if you need help with the middleware
  • i

    Infatuation

    10/15/2021, 3:04 PM
    I'll try setting it up but I'll circle back if my efforts fail. Thanks for the super quick reply! Hoping to use this to replace my current Goth authentication
  • r

    rp

    10/15/2021, 3:52 PM
    Happy to help 🙂
  • i

    Infatuation

    10/15/2021, 9:45 PM
    What are the routes that need to be configured for the auth to work?
  • i

    Infatuation

    10/15/2021, 9:45 PM
    This is how I've configured the echo middleware so far:
  • i

    Infatuation

    10/15/2021, 9:46 PM
    it works as expected, but the routes don't work as expected as I'm not implementing supertokens.Middleware()
  • r

    rp

    10/15/2021, 9:47 PM
    So you need to use supertokens.Middleware() to get the auth routes
  • i

    Infatuation

    10/15/2021, 9:58 PM
    I found this which might help use it
  • r

    rp

    10/15/2021, 9:58 PM
    Hmmm
  • n

    nadilas

    10/15/2021, 9:59 PM
    What is your reasoning to not use the middleware?
  • i

    Infatuation

    10/15/2021, 10:00 PM
    I just wasn't sure how to implement it with Echo
  • n

    nadilas

    10/15/2021, 10:00 PM
    Oh I just got the context of that, sorry for my question
  • i

    Infatuation

    10/15/2021, 10:00 PM
    No worries!
  • r

    rp

    10/15/2021, 10:01 PM
    @Infatuation we can make a demo app for you using labstack tomorrow 🙂
  • i

    Infatuation

    10/15/2021, 10:08 PM
    that would be amazing 🙂
  • r

    rp

    10/16/2021, 3:36 PM
    @User here is a working example with labstack-echo: https://github.com/supertokens/supertokens-golang/blob/master/examples/with-labstack-echo/main.go
  • i

    Infatuation

    10/16/2021, 3:36 PM
    @User Wooh! Gonna check this out shortly
Powered by Linen
Title
i

Infatuation

10/16/2021, 3:36 PM
@User Wooh! Gonna check this out shortly
View count: 3