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

    12/01/2020, 11:54 AM
    they will be in the same place where ur JS code is located.
  • s

    Sun Walker

    12/01/2020, 11:54 AM
    yeah but those headers are even working with fetch
  • s

    Sun Walker

    12/01/2020, 11:55 AM
    I used fetch api for requests and still had these headers and network error
  • r

    rp

    12/01/2020, 11:58 AM
    So it's going to be a little difficult for me to help you over text like this. Becasue the issue is not necessarily to do with SuperTokens here. It's a very strange occurrence.
  • r

    rp

    12/01/2020, 11:59 AM
    xsrfCookieHeader
    is not something we add either
  • s

    Sun Walker

    12/01/2020, 1:56 PM
    @rp does supertokens set any of these, this is a new screenshot after removing everything
  • s

    Sun Walker

    12/01/2020, 1:56 PM
    message has been deleted
  • r

    rp

    12/01/2020, 2:01 PM
    none of them
  • s

    Sun Walker

    12/01/2020, 2:07 PM
    Ah, damn so im on my own ๐Ÿ˜ฆ
  • r

    rp

    12/01/2020, 2:07 PM
    haha i guess
  • r

    rp

    12/01/2020, 2:18 PM
    I'm sure you will fix it haha!
  • u

    user

    12/02/2020, 6:49 PM
    Just a general question
  • u

    user

    12/02/2020, 6:49 PM
    Does SuperToken handle email verifications
  • u

    user

    12/02/2020, 6:49 PM
    Like if I register does it send me a unique link where I can verify my registration
  • r

    rp

    12/03/2020, 3:29 AM
    hey @User we are building that feature out. There will be two ways we provide email verification (and you can choose between them): 1) When a user signs up, they get asked to verify their email. Only post that will their sign up succeed 2) A user can sign up with an unverified email, start to use the service, and we display a (customisable) bar on pages reminding them to verify their email. You can also choose to prevent them from using certain features unless they verify their email. Which one do you prefer?
  • s

    siva

    12/15/2020, 7:32 AM
    https://stackoverflow.com/questions/65301589/how-to-perform-cart-total-for-json-data unable to perform calucation on json data please help if anyone know about this
  • r

    rp

    12/15/2020, 7:40 AM
    @User I doubt people on this server will be able to help in non supertokens related questions. Posting on SO and leaving it there is your best bet. No point posting it here as well. Thanks
  • u

    user

    12/15/2020, 8:30 PM
    Hey guys, I have just found Supertokens and it seems like pretty great alternative to Auth0 et al. On the title page you are saying:
    "Unless you require SSO, donโ€™t worry about OAuth! Make auth simple again!"
    How does it work if I require SSO? ๐Ÿ™‚ I would love to avoid the OAuth setup hell for multiple providers in multitenant environment however can Supertokens support custom OAuth flows with 3rd party providers like Azure AD, Salesforce etc. (or is it on roadmap)? Can't find any mention re. that in the docs ๐Ÿ™‚
  • r

    rp

    12/16/2020, 4:43 AM
    Hey @User we donโ€™t support OAuth flows with 3rd party providers as of yet. But are working on it as a top priority. We should have something for this towards Jan end.
  • u

    user

    12/16/2020, 9:39 AM
    I'm curious, was there a reason you decided to move away from the existing providers? We've used some of them for a while and they seemed to work for us during that time for the most part
  • u

    user

    12/16/2020, 4:56 PM
    I'm trying to use the node/nextjs middleware, but it throws an internal server error anytime the library is called:
  • r

    rp

    12/16/2020, 4:56 PM
    Can you share your code please?
  • u

    user

    12/16/2020, 4:57 PM
    TypeError: Class constructor NextJS cannot be invoked without 'new'
        at __webpack_exports__.default (webpack-internal:///./pages/api/auth/[[...path]].js:56:71)
        at processTicksAndRejections (node:internal/process/task_queues:93:5)
        at async apiResolver (/Users/bjk/src/github.com/gopheracademy/supertokens-nextjs-demo/node_modules/next/dist/next-server/server/api-utils.js:8:1)
        at async DevServer.handleApiRequest (/Users/bjk/src/github.com/gopheracademy/supertokens-nextjs-demo/node_modules/next/dist/next-server/server/next-server.js:63:403)
        at async Object.fn (/Users/bjk/src/github.com/gopheracademy/supertokens-nextjs-demo/node_modules/next/dist/next-server/server/next-server.js:55:530)
        at async Router.execute (/Users/bjk/src/github.com/gopheracademy/supertokens-nextjs-demo/node_modules/next/dist/next-server/server/router.js:24:67)
        at async DevServer.run (/Users/bjk/src/github.com/gopheracademy/supertokens-nextjs-demo/node_modules/next/dist/next-server/server/next-server.js:65:1023)
        at async DevServer.handleRequest (/Users/bjk/src/github.com/gopheracademy/supertokens-nextjs-demo/node_modules/next/dist/next-server/server/next-server.js:33:450)
    warn  - ./node_modules/supertokens-auth-react/lib/build/utils.js
    Module not found: Can't resolve 'react-router' in '/Users/bjk/src/github.com/gopheracademy/supertokens-nextjs-demo/node_modules/supertokens-auth-react/lib/build'
    
    ./node_modules/supertokens-auth-react/lib/build/components/superTokensRoute.js
  • u

    user

    12/16/2020, 4:57 PM
    my "code" is a git clone of https://github.com/supertokens/supertokens-nextjs-demo/tree/use-nextjs-helper
  • u

    user

    12/16/2020, 4:57 PM
    with my own connection URI
  • r

    rp

    12/16/2020, 4:57 PM
    got it. Let me have a look
  • u

    user

    12/16/2020, 4:59 PM
    thanks!
  • u

    user

    12/16/2020, 4:59 PM
    (I checked out the "use-nextjs-helper" branch)
  • r

    rp

    12/16/2020, 5:00 PM
    @User can help you out here since he made the repo
  • k

    kevin.a

    12/16/2020, 5:01 PM
    Hey @bketelson let me take a look and I'll come back to you with more info
Powered by Linen
Title
k

kevin.a

12/16/2020, 5:01 PM
Hey @bketelson let me take a look and I'll come back to you with more info
View count: 2