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

    inmesh

    11/28/2022, 1:45 PM
    Hi 🙂 I use supertokens sign in for my app - I have a website for the sign in and the app opens it in the browser and redirect back to the app after login is successful. When I'm logged in in the browser but signed out in the app, I click sign in the app, I get to my sign in website and then get redirected automatically back to the app. My question is, what exactly happens on the automatic redirect? because sometimes the auto-redirect gets stuck in the middle but I'm having a hard time debugging this.
    r
    3 replies · 2 participants
  • s

    SuperTurk

    11/28/2022, 3:34 PM
    Hi, couldn't find a proper answer in the history to solve my problem. I wanna use the supertokens-react-auth with a custom UI with a third party provider. I couldn't find something on the docs about that. Is there a simple way to just SignIn, redirect to the provider login and getting to the callback URL ?
    r
    8 replies · 2 participants
  • f

    funk101

    11/28/2022, 3:42 PM
    Question about
    response.session.mergeIntoAccessTokenPayload()
    after overriding api
    signInPOST
    and getting a
    response
    I try to merge to access token payload but do not see the value when I
    console.log()
    the accessTokenPayload.
    r
    2 replies · 2 participants
  • r

    rp

    11/28/2022, 3:59 PM
    mergeIntoAccessTokenPayload question
  • o

    oldhack

    11/28/2022, 5:31 PM
    I've got a question about JWTs. I'm using NextJS integration with sessions and JWTs. I have another service (on another domain) I would like to be able to make authenticated API requests to. Could I just pass the JWT in a header to that other service and verify the JWT against the nextjs JWKS endpoint? You folks are the auth experts, is this ok? Not ok? Hard? Easy? Stupid?
  • r

    rp

    11/28/2022, 6:02 PM
    JWT based auth
  • f

    funk101

    11/28/2022, 7:10 PM
    I have 1000+ records in my db. I would like to convert to SuperTokens. Is there a way to bulk import?
  • f

    funk101

    11/28/2022, 7:40 PM
    Let me rephrase that, is it possible to right a script that creates these users in SuperTokens db?
  • e

    edistra

    11/28/2022, 8:21 PM
    Hi, we're currently implementing supertokens in my team and we'd like to use the same API to authenticate on two different domains. I've seen this page https://supertokens.com/docs/thirdparty/common-customizations/sessions/multiple-api-endpoints which explains how to do it with different subdomains, is it possible to do it with multiple domains as well ?
  • c

    chris_st

    11/28/2022, 9:50 PM
    That page says: > All your API endpoints must have the same top level domain. For example, they can be {"api.example.com", "api2.example.com"}, but they cannot be {"api.example.com", "api.otherdomain.com"}.
  • c

    chris_st

    11/28/2022, 9:50 PM
    So perhaps if you want "dom1.com" and "dom2.org" to hit your support API, they could both use "api.yoursupport.net"?
  • c

    chris_st

    11/28/2022, 9:51 PM
    (I had this question as well, thanks for asking it!)
  • e

    edistra

    11/28/2022, 10:26 PM
    Thanks for your answer, our API will actually be on a domain of it's own let's say api.xxx.io But we have two different domains for our client websites, xxx.eu and xxx.com, and when initializing Supertokens on the backend we can only define one website domain
  • s

    sathyashrayan

    11/29/2022, 1:50 AM
    I am thinking of "Support for additional frameworks" under road map. Especially with the java. But I am Someone who don't even know what a authentication is and trying to understand the super tokens. When I searched net I come across terms such as oauth, jwt,openId ect So supertoken is one among them? Any pointers will be helpful for me to get started.
  • r

    rp

    11/29/2022, 5:45 AM
    bulk import
  • r

    rp

    11/29/2022, 5:46 AM
    Different API domains
  • r

    rp

    11/29/2022, 5:50 AM
    two different domains on the frontend
  • r

    rp

    11/29/2022, 5:53 AM
    about SuperTokens
  • v

    vishalc

    11/29/2022, 7:06 AM
    @rp SuperTokens working with Ionic 6?
    r
    3 replies · 2 participants
  • d

    Diesel

    11/29/2022, 8:32 AM
    Hey, we have a problem with the client react on web. for some reason sometimes the refresh api from the backend response is 502 in the network interface but in the backend we can see in the logs it returned 200. Was wondering what this 502 means maybe you know and could help us?
    r
    8 replies · 2 participants
  • g

    gc1980

    11/29/2022, 10:15 AM
    can MSSQL be used? I see doc for MySQL and Postgres
    r
    7 replies · 2 participants
  • g

    gc1980

    11/30/2022, 11:46 AM
    for the hosting with you guys, where about's is the data kept globally?
  • r

    rp

    11/30/2022, 1:39 PM
    managed service data location
  • b

    bobs_ramen

    11/30/2022, 9:26 PM
    Hi there, needing some help with emails! I customised the email template for email verification in node.js and I'm trying to add an extra query string to the emailVerifyLink in my backend config. I need to get the value of this query string from the current url. I see that there is an express request available in the userContext._default object via the emailDelivery.service.override.getContent function input. Is this the best place to get the query string? And if so how would I do it? Thanks!!
  • c

    C9WIN

    11/30/2022, 9:33 PM
    Hello, sorry to be a bother. I am setting up a 3rd party solution, and I have the button, can then get to the provider, sign in, and come back. This is where I am stuck. I can't figure out what I should come back to. No matter what I seem to do I just end up back on the signin page. Do I need to make a new express route to come back to and somehow set the login there? Or is there a specific supertoken url I'm supposed to come back to? I tried
    [url]/auth/callback/[id]
    along with many others. Nothing seems to run the
    getProfileInfo
    function or any other function I can find.
  • b

    bobs_ramen

    11/30/2022, 10:13 PM
    Hi there needing some help with emails I
  • y

    YayRomina

    11/30/2022, 11:24 PM
    not a question - just wanted to express thanks for such a great developer experience and documentation! I've been wrestling with auth0 for days, and then got supertokens completely up and running in an evening. it works great
  • r

    rp

    12/01/2022, 3:52 AM
    Third party callback
  • r

    rp

    12/01/2022, 3:53 AM
    Thanks for the kind words @YayRomina
  • g

    gc1980

    12/01/2022, 3:38 PM
    @rp do you have an estimated time for release on the 2FA?
Powered by Linen
Title
g

gc1980

12/01/2022, 3:38 PM
@rp do you have an estimated time for release on the 2FA?
View count: 1