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
  • u

    user

    09/29/2021, 3:28 PM
    host command is working in run-time, not the config file
  • r

    rp

    09/29/2021, 3:29 PM
    Yes. We will investigate that issue. However even when passed as a config value, it may not work cause of the reason i said. Or does it work?
  • u

    user

    09/29/2021, 3:30 PM
    after using 0.0.0.0, it does work
  • r

    rp

    09/29/2021, 3:31 PM
    So i tried to setup ST on my computer (mac) and edit the host file with an IP. It worked. So in order to figure out the issue, can we get on a quick call please? Will help us debug.
  • u

    user

    09/29/2021, 3:34 PM
    sure, joined
  • u

    user

    09/29/2021, 3:34 PM
    joined Voice Channel
  • r

    rp

    09/29/2021, 3:47 PM
    @User can you please show me the output of
    supertokens --help
  • s

    Sai Dinesh

    09/29/2021, 3:48 PM
    message has been deleted
  • s

    Sai Dinesh

    09/29/2021, 3:49 PM
    its in wrong path mate
  • s

    Sai Dinesh

    09/29/2021, 3:49 PM
    our mistake
  • r

    rp

    09/29/2021, 3:49 PM
    I see. So the config.yaml file you need to edit is located at
    /usr/lib/supertokens/config.yaml
  • r

    rp

    09/29/2021, 3:49 PM
    haha.. fair enough
  • r

    rp

    09/29/2021, 3:49 PM
    try editing that and starting ST
  • r

    rp

    09/29/2021, 3:49 PM
    should work
  • s

    Sai Dinesh

    09/29/2021, 3:49 PM
    thanks mate sorry for the trouble
  • r

    rp

    09/29/2021, 3:50 PM
    no worries 🙂
  • u

    user

    09/29/2021, 3:50 PM
    https://tenor.com/view/akshay-kumar-de-dana-dan-akshay-cry-akshay-crying-crying-gif-22727638
  • u

    user

    09/29/2021, 5:56 PM
    Hello everyone! I'm planning to run multiple react apps on different subdomains (appName.example.com). But my Supertokens Auth (EmailPassword & Session recipe) app runs on auth.example.com (Here the user signs in, changes password and manages his name etc). How would i implement the usage of supertokens in the different react apps. Would i just use the Session recipe (because the auth service sets the cookies for all domains) and redirect to the auth app when no session is present?
  • r

    rp

    09/29/2021, 6:00 PM
    So first, you need to make sure that the session is shared across all sub domains: https://supertokens.io/docs/emailpassword/common-customizations/sessions/share-sessions-across-sub-domains Then, in the other sub domains, you would use, both, the session recipe and the EmailPassword recipe, but you would set the websiteDomain value in that to
    auth.example.com
    , and not
    appName.example.com
    . We have an example app may do something similar to what you want: https://github.com/supertokens/supertokens-auth-react/tree/master/examples/with-one-login-many-subdomains
  • l

    lance

    10/03/2021, 12:02 PM
    thanks so much! 😄
  • u

    user

    10/09/2021, 1:03 PM
    Is there a node library for supertokens? If so, pl share the link along with its documentation.
  • z

    ZeferiniX

    10/09/2021, 1:04 PM
    yes there is, working with it as well atm https://supertokens.io/docs/nodejs/installation
  • u

    user

    10/09/2021, 1:11 PM
    Thanks for the link! Not much given here other than npm install. Any idea where I can find instructions on various functions on how to use this library?
  • z

    ZeferiniX

    10/09/2021, 1:11 PM
    check the recipes first maybe?
  • z

    ZeferiniX

    10/09/2021, 1:11 PM
    depends on your use case, I use supertokens currently just for session management
  • u

    user

    10/09/2021, 1:11 PM
    Cool!
  • z

    ZeferiniX

    10/09/2021, 1:12 PM
    so I'm mostly in this section of the docs
  • r

    rp

    10/09/2021, 1:12 PM
    @User what recipe do you want to use?
  • m

    Monyodam Thaung

    10/11/2021, 10:33 AM
    Dear supertoken team , supertokens-flask was remove from https://pypi.org/project/supertokens-flask/. Do you know why? Thanks
  • r

    rp

    10/11/2021, 11:19 AM
    @User which version of the SDK are you using?
Powered by Linen
Title
r

rp

10/11/2021, 11:19 AM
@User which version of the SDK are you using?
View count: 2