https://supertokens.com/
Join Discord
my supertokens core is on v4.2. How can i get this upgraded to 6.0.X
m

mukulg22

over 2 years ago
my supertokens core is on v4.2. How can i get this upgraded to 6.0.X
m
r
n
  • 3
  • 49
  • 27
I'm getting an error saying ""Are you sending too many / too few formFields?" I'm following the exam...
m

miguelstevensbe

over 2 years ago
I'm getting an error saying ""Are you sending too many / too few formFields?" I'm following the example from the docs, this is my frontend and backend code, am I missing something? ( I checked, the values are populated with data when sending the request to ST) frontend code
const response = await EmailPassword.signUp({
        formFields: [
            {
                id: "invite",
                value: invite.value.id
            },
            {
                id: "password",
                value: password,
            },
            {
                id: 'first_name',
                value: firstname
            },
            {
                id: 'last_name',
                value: lastname
            },
        ]
    });
And the backend
EmailPassword.init({
                signUpFeature: {
                    formFields: [
                        {id: "invite"},
                        {id: "password"},
                        {id: "first_name"},
                        {id: "last_name"},
                    ]
                },
                override: {
                    apis: (originalImplementation) => {
                        return {
                            ...originalImplementation,
                            signUpPOST: async function (input) {
                                if (originalImplementation.signUpPOST === undefined) {
                                    throw Error("Should never come here");
                                }

                                let response = await originalImplementation.signUpPOST(input);
                                console.log(input)


                                return response
                            }
                        }
                    }
                }
            }),
m
r
  • 2
  • 5
  • 27
🤠 good day folks. what is the best approach for handling unit tests with supertokens python SDK? un...
d

d3adb0y

over 2 years ago
🤠 good day folks. what is the best approach for handling unit tests with supertokens python SDK? unfortunately i have procrastinated on this for way too long. is there any easy mechanism to mock the user session? i know about the recipe specific API overrides as I am using some of those to customize the auth flow. is there a way to mock the response for user session as well? Can I override the
verify_session
function in the session.init()?
d
r
  • 2
  • 20
  • 27
is there a way to list all users?
v

Vrl

about 3 years ago
is there a way to list all users?
v
r
  • 2
  • 1
  • 27
Hi, is there any example of how can I use Facebook provider in react native ?
b

binouse

about 3 years ago
Hi, is there any example of how can I use Facebook provider in react native ?
b
r
n
  • 3
  • 13
  • 27
Hey I'm trying to redirect the user to different url after logging in, its working fine with otp lo...
s

shri4953

about 3 years ago
Hey I'm trying to redirect the user to different url after logging in, its working fine with otp login (to do this i am passing different url in redirectToPath=someUrl), but google login success does not redirect (redirectToPath becomes empty string). following this guide https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/redirecting-post-login i couldn't find something similar with the Session recipe which i would like to support as well
s
r
  • 2
  • 2
  • 27
My stack: Next.js frontend Nest.js backend Postgres 1. Getting Next.js to work with SuperTokens se...
j

joel04425

over 3 years ago
My stack: Next.js frontend Nest.js backend Postgres 1. Getting Next.js to work with SuperTokens seems easy. However, once the user has logged into the Next.js app and starts making API calls, how does the Nest.js app know if the user has logged in from the API calls? 2. I'd like to store user details such as email, auth provider, etc. on my own Postgres database. Is there some kind of callback that will send a request to my API when the user changes email or a new account has just been created?
j
r
  • 2
  • 12
  • 27
hey <@498057949541826571> I am using passwordless. i am trying to do something after user registers....
a

aV

over 3 years ago
hey @rp_st I am using passwordless. i am trying to do something after user registers. For now I am just printing in the backend after a new regisration. when try to enter a code or use magic link to verify the backend sdk crashes. I tried this override:
a
r
  • 2
  • 10
  • 27
Anywhere that I could find a example of using Vanilla JS to create custom UI?
s

Swiftzerr

over 3 years ago
Anywhere that I could find a example of using Vanilla JS to create custom UI?
s
r
+3
  • 5
  • 98
  • 27
hey :). we are having an issue with the redirect uri returned for Apple on the web. the code that c...
c

cg.vols

over 3 years ago
hey :). we are having an issue with the redirect uri returned for Apple on the web. the code that creates the redirect uri uses the API base path instead of the UI base path.
c
r
  • 2
  • 26
  • 27
Previous414243Next

SuperTokens.com

SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).

Powered by