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

    09/05/2021, 1:10 PM
    Yea
  • r

    rp

    09/05/2021, 1:10 PM
    If you’d like, you can make a PR for it
  • r

    rp

    09/05/2021, 1:10 PM
    Otherwise we will change it eventually
  • z

    ZeferiniX

    09/05/2021, 1:11 PM
    I think I can open one, not sure if other recipes get affected by this
  • r

    rp

    09/05/2021, 1:12 PM
    yea there is a similar section in other recipe docs too
  • r

    rp

    09/05/2021, 1:12 PM
    which would need to change as well
  • z

    ZeferiniX

    09/05/2021, 1:13 PM
    aight, I'll check them out and see what needs adjustments, will open a PR later, thanks for the help as always!
  • z

    ZeferiniX

    09/05/2021, 1:21 PM
    btw, I reverted this back to no ports and it still worked fine
  • r

    rp

    09/05/2021, 1:21 PM
    Oh! Hmmm
  • r

    rp

    09/05/2021, 1:21 PM
    I think you should add the port anyway. Haha
  • r

    rp

    09/05/2021, 1:21 PM
    Cause it was designed keeping in mind that that will be there. So to prevent some unexpected bugs
  • z

    ZeferiniX

    09/05/2021, 1:24 PM
    I did some reading on this, has to do with the same-site and cors stuffs, subtle differences but as far as cookies are concerned, it disregards the port from what I understood xD anyhow, we'll see if we encounter an issue with this moving forward and reach out if we think the issue is on supertokens' side xD
  • r

    rp

    09/05/2021, 1:24 PM
    Cool!
  • u

    user

    09/07/2021, 1:13 PM
    thank you guys 🙏 will have a look today
  • u

    user

    09/08/2021, 6:07 PM
    hello, I'm setting up the nextJS Supertokens starter template here -> https://github.com/supertokens/next.js/tree/canary/examples/with-supertokens and I can't find in what file I can configure the connectionURI: and API key: in order to connect my app and see the users in the supertokens dashboard
  • u

    user

    09/08/2021, 6:12 PM
    I only found connectionURI: at line 25 in
    supertokensConfig.js
    but where do I put the API key: ?
  • r

    rp

    09/08/2021, 6:12 PM
    the api key goes in the same object as the `connectionURI`:
    supertokens: {
          connectionURI: 'https://try.supertokens.io',
          apiKey: "..."
        },
  • u

    user

    09/09/2021, 8:00 AM
    thanks! that was not very clear, I'll propose to add this in there in the starter template
  • r

    rp

    09/09/2021, 8:02 AM
    Yes. We have written that down as a todo for us 🙂
  • u

    user

    09/09/2021, 8:02 AM
    thank you 🙂 it can be referenced directly to the env file I guess.
  • u

    user

    09/10/2021, 12:34 AM
    Hello! I was wondering if supertokens supports CockroachDB?
  • r

    rp

    09/10/2021, 3:35 AM
    Hey @User we don’t support cockroachDB. As a work around, you can use our managed service offering instead and let us handle the db that supertokens uses.
  • n

    nadilas

    09/10/2021, 5:42 AM
    Just out of curiosity, are there any implementation details in the Postgres adapter which rule out cockroachdb? Or is it just that one would need to check if it’s compatible?
  • n

    nadilas

    09/10/2021, 5:43 AM
    The Schema posted in the docs seems to work with cockroachdb
  • r

    rp

    09/10/2021, 6:03 AM
    Oh. Hmm. If cockroachDB is 100% compatible with Postgres, including how one would connect to it, then it should work. We haven’t tried it yet.
  • r

    rp

    09/10/2021, 6:03 AM
    But if you try it and get it to work, then let us know! We will add it to our docs 🙂
  • n

    nadilas

    09/10/2021, 6:07 AM
    It is 9.6 wire compatible yes. I haven’t tried it myself but as long as you don’t do black belt Postgres magic in the backend, the schema looks fine, it should just work.
  • r

    rp

    09/10/2021, 6:07 AM
    Hmmm. We can try it out. Thanks for the info
  • n

    nadilas

    09/10/2021, 6:09 AM
    I think the appeal of cockroachdb to have “one db” for all regions will make this question pop up rather often.
  • u

    user

    09/10/2021, 9:30 AM
    I love how easy it is to scale and add nodes to your cluster
Powered by Linen
Title
u

user

09/10/2021, 9:30 AM
I love how easy it is to scale and add nodes to your cluster
View count: 4