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

    masterdimar

    09/28/2021, 10:34 PM
    How to get the name for google and facebook providers?
  • r

    rp

    09/29/2021, 4:54 AM
    @User > We're currently looking to implement supertokens with a chrome extension. Are there any specific blockers that I need to be aware of? I think it should work out of the box, but we haven't tried it yet with an extension. > Also another question, are there docs or general directions on how we can build our own front end (and maybe just call a few functions) when using reactjs? We don't expose the functions from the reactJS SDK (yet), except for the session recipe functions. For other recipes, you may want to directly call the API exposed by our backend SDK: https://app.swaggerhub.com/apis/supertokens/FDI
  • r

    rp

    09/29/2021, 4:56 AM
    @User > How to get the name for google and facebook providers? You mean user's name? If yes, then: - First, you will have to set the appropriate scopes: https://supertokens.io/docs/thirdpartyemailpassword/common-customizations/signup-form/changing-oauth-scopes - Then, post sign up / login, you can get the access token from google / fb and query them to get the user's name: https://supertokens.io/docs/thirdpartyemailpassword/common-customizations/signup-form/built-in-providers#get-the-third-party-providers-access-token
  • s

    Sai Dinesh

    09/29/2021, 6:10 AM
    Hi all, is there any installation doc for self hosted services ?
  • r

    rp

    09/29/2021, 6:11 AM
    Yes. https://supertokens.io/docs/thirdpartyemailpassword/quick-setup/core/with-docker
  • r

    rp

    09/29/2021, 6:11 AM
    The above is with docker. This is without docker: https://supertokens.io/docs/thirdpartyemailpassword/quick-setup/core/without-docker
  • s

    Sai Dinesh

    09/29/2021, 6:11 AM
    again thanks mate
  • u

    user

    09/29/2021, 7:24 AM
    I installed the supertoken in oracle server, i could access the server on localhost using reverse proxy but i couldn't access it via public address (IP / Domain). Is there any config file i need to edit also i disabled all firewalls and allowed all Ingress request
  • r

    rp

    09/29/2021, 7:25 AM
    Are you running it with docker?
  • u

    user

    09/29/2021, 7:25 AM
    without docker
  • r

    rp

    09/29/2021, 7:27 AM
    You have to set the
    host
    value in config.yaml as `"0.0.0.0"`: https://github.com/supertokens/supertokens-core/blob/master/config.yaml#L16
  • u

    user

    09/29/2021, 7:28 AM
    Thanks bro
  • u

    user

    09/29/2021, 7:35 AM
    can this be provided while installation or after installation ?
  • r

    rp

    09/29/2021, 7:36 AM
    after installation
  • u

    user

    09/29/2021, 7:38 AM
    host: "150.230.130.109" like this ?
  • r

    rp

    09/29/2021, 8:06 AM
    Yea
  • u

    user

    09/29/2021, 2:58 PM
    I have provided the server IP in the host on config.yaml , but still I couldn't able to access the server
  • u

    user

    09/29/2021, 2:58 PM
    @User
  • r

    rp

    09/29/2021, 2:59 PM
    Can you share your config file? (Without the db credentials)?
  • r

    rp

    09/29/2021, 2:59 PM
    Cause it still says that it’s starting on localhost
  • u

    user

    09/29/2021, 3:01 PM
    we tried providing IP with quotes and without && haven't provided the DB details yet
  • u

    user

    09/29/2021, 3:03 PM
    we opened all the ports and disabled the firewall as well
  • r

    rp

    09/29/2021, 3:05 PM
    okay. Might be a bug.. can you try to provide the host like this:
    supertokens start --host=150.230.130.109
    (and comment the
    host
    in the config.yaml file)
  • u

    user

    09/29/2021, 3:05 PM
    sure thing
  • r

    rp

    09/29/2021, 3:07 PM
    I know for sure that the
    host
    in config.yaml works, cause in the docker images we provide, we have set it to
    0.0.0.0
    in the config file, and that works fine. Might be a stupid quesiton, but are you sure you are editing the right config file?
  • u

    user

    09/29/2021, 3:09 PM
    we are editing the yaml file where we installed the supertokens
  • u

    user

    09/29/2021, 3:11 PM
    Still its triggering localhost
  • u

    user

    09/29/2021, 3:13 PM
    if we try the command using '=' , this error populates
  • u

    user

    09/29/2021, 3:18 PM
    we are using postgres binary
  • r

    rp

    09/29/2021, 3:24 PM
    I assume that
    150.230.130.109
    is the public IP? If you set the
    host
    to that, it won't be able to bind to it cause the inside the server it's not a recognised host. Instead, try
    supertokens start --host=0.0.0.0
    and then query on
    150.230.130.109
    ?
Powered by Linen
Title
r

rp

09/29/2021, 3:24 PM
I assume that
150.230.130.109
is the public IP? If you set the
host
to that, it won't be able to bind to it cause the inside the server it's not a recognised host. Instead, try
supertokens start --host=0.0.0.0
and then query on
150.230.130.109
?
View count: 2