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

    Romain

    06/22/2022, 9:30 AM
    Hello ! I am looking for a solution to have a custom password validation according to a client. My first idea is to add a password formfield validate method (https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/signup-form/field-validators#step-2-back-end-) But to do this i need to call an API inside the validate method with a clientId (so the front need to send this ID to the validate method), is there a way to do this? Thanks in advance for your help ๐Ÿ™‚
    n
    18 replies ยท 2 participants
  • r

    Romain

    06/22/2022, 12:15 PM
    Sorry, I have another question, we have looked into using your SAAS solution, however you only offer AWS and for RGPD / European law concerns we are forbidden to store user data in AWS (or any other american enterprise). Do you plan to propose other hosters? Thanks ๐Ÿ™‚
    r
    8 replies ยท 2 participants
  • y

    yuriy

    06/22/2022, 2:01 PM
    Dear Supertokens support, We are using React + Next.js. Question - is it possible to sign in using Supertokens without rendering a corresponding form? F.x. using a function, something like
    signIn(email, password)
    called from within a component. Similarly to how you can use the
    signOut()
    function? Thanks a lot, BR, Yuriy
    r
    7 replies ยท 2 participants
  • f

    funk101

    06/22/2022, 2:08 PM
    @rp good morning, regarding my question from earlier about , in my EmailPasswordSignUp_Override I'm trying to implement an
    onChange
    event. However, it's firing on a "blur" event.
    r
    50 replies ยท 2 participants
  • f

    flixoflax

    06/23/2022, 7:02 AM
    Hey! Is it possible to override the internal supertoken redirection function? I am using NextJS and emailVerificationMode "REQUIRED". However my frontend is trying to check if the email is verified and redirect accordingly. I guess it uses the window.location.href thingy which is slow and inefficient compared to NextRouter...
    r
    159 replies ยท 2 participants
  • r

    romanpalenik

    06/23/2022, 11:57 AM
    Hello, is there a option to disable sign up and have only pre-seeded users, please? i am building backoffice service and i need only users that i created
    r
    3 replies ยท 2 participants
  • r

    rp

    06/23/2022, 12:50 PM
    disable sign up
  • n

    nox

    06/23/2022, 1:40 PM
    hi i have a problem with passwordless auth in react. i want to call an api in the useEffect of APP.tsx but when i try i recive error 401, is it my bad ?
    r
    61 replies ยท 2 participants
  • p

    PPaii

    06/23/2022, 1:55 PM
    Hi I got this error, May I know how to solve it ?
    n
    21 replies ยท 2 participants
  • m

    Michael Brant

    06/23/2022, 5:46 PM
    If I only have 1 provider, is there a way to just go directly to that provider's authorization flow?
    r
    n
    12 replies ยท 3 participants
  • m

    Michael Brant

    06/24/2022, 3:12 AM
    Does anyone know why axios goes into an infinite loop here when the request fails?
    r
    24 replies ยท 2 participants
  • r

    rp

    06/24/2022, 3:57 AM
    Infinite loop for axios
  • e

    EdwinN1337

    06/24/2022, 9:13 AM
    Hi Guys, I'm still having this undefined err, can't figure out why In my other apps we have the same flow, and it works 1. init in
    _app.tsx
    (nextjs app)
    js
    if (typeof window !== 'undefined') {
      supertokens.init({
        ...frontendConfig().appInfo,
      })
    }
    In our
    Layout
    component we initialize the user, by running a effect (which is client side) to
    getUser()
    in our zustand store
    r
    23 replies ยท 2 participants
  • t

    twistingtwists

    06/24/2022, 4:04 PM
    Hi Teams.
  • t

    twistingtwists

    06/24/2022, 4:04 PM
    Is there an Elixir Backend SDK for supertokens?
  • t

    twistingtwists

    06/24/2022, 4:04 PM
    Does supertokens use openapi ? if yes, Elixir SDK can be generated via cli. Please let me know.
    r
    28 replies ยท 2 participants
  • c

    CaptainPhoton

    06/24/2022, 4:49 PM
    I see there is new documentation for the email sending service, nice! But do I have to refactor my current custom email sending functions or will the "old way" continue to work? For reference, here is how I send Supertokens emails:
  • r

    rp

    06/24/2022, 4:49 PM
    The old way will continue to work.
  • c

    CaptainPhoton

    06/24/2022, 4:50 PM
    Great ๐Ÿ˜„ Any benefits to implementing the
    sendEmail
    override in addition?
  • c

    CaptainPhoton

    06/24/2022, 4:55 PM
    What emails are sent if type is not PASSWORDLESS_LOGIN?
  • r

    rp

    06/24/2022, 4:56 PM
    You can hover on the type and it should tell you.
  • c

    CaptainPhoton

    06/24/2022, 4:59 PM
    ah gotcha! haha good ๐Ÿคฆโ€โ™‚๏ธ
  • b

    Biaz

    06/24/2022, 5:04 PM
    Hello, i need to configure the backend for to accept capcitor://app.id URL and not only http or https. Someone can help me?
    r
    b
    15 replies ยท 3 participants
  • c

    CaptainPhoton

    06/24/2022, 5:18 PM
    It would be a good idea to document the email verification case. The interface of
    input
    is different from the passwordless login case, and also different from the other email verification sending function. As far as I can tell, the link is in
    input.emailVerifyLink
    and the email is in
    input.user.email
  • c

    CaptainPhoton

    06/24/2022, 6:09 PM
    How come the input.email is undefined when I'm signing in with an email?
    r
    38 replies ยท 2 participants
  • p

    PPaii

    06/25/2022, 5:57 AM
    Hi, I am try to use useSessionContext to get user info in frontend. After I wrap _app with the error shown. What should I do ?
    r
    14 replies ยท 2 participants
  • u

    [BR1]Sky

    06/26/2022, 2:54 AM
    Is there no way to rotate the core api key?
    r
    2 replies ยท 2 participants
  • r

    rp

    06/26/2022, 4:39 AM
    Rotate core API key
  • c

    constantinos

    06/26/2022, 8:57 AM
    Is there an easy way to share a session on 2 localhost frontends on 2 different ports? e.g. localhost:8080 and localhost: 9000
    r
    45 replies ยท 2 participants
  • c

    CaptainPhoton

    06/26/2022, 11:31 AM
    Is there any limitations to just insert users into the supertokens tables?
    r
    12 replies ยท 2 participants
Powered by Linen
Title
c

CaptainPhoton

06/26/2022, 11:31 AM
Is there any limitations to just insert users into the supertokens tables?
r

rp

06/26/2022, 11:32 AM
You mean directly modify the table?
c

CaptainPhoton

06/26/2022, 11:32 AM
Not modify, insert
r

rp

06/26/2022, 11:32 AM
right yea.
c

CaptainPhoton

06/26/2022, 11:32 AM
I have all the users in a table, and I want them into supertokens
so I'll just insert them as passwordless users and set the metadata?
r

rp

06/26/2022, 11:33 AM
You can do that. Just need to make sure you put info in the right tables.
c

CaptainPhoton

06/26/2022, 11:33 AM
okay cool!
r

rp

06/26/2022, 11:33 AM
all_auth_recipe_users
and
passwordless_users
tables
c

CaptainPhoton

06/26/2022, 11:34 AM
right yes, thanks
luckily their ID's are uuid already so this SHOULD be pretty smooth ๐Ÿ˜„
r

rp

06/26/2022, 11:35 AM
right! give it a shot.
c

CaptainPhoton

06/26/2022, 11:35 AM
๐Ÿ‘
View count: 1