Hey team,
I have an use case where when I invite the user, I create the user in supertokens using the emailPasswordSignUp method. The method returns the session and user context is switched here. Is there a way to create the user and not switch session?
r
rp_st
06/23/2023, 7:02 AM
hey @mukulg22 you can make your own API on the backend which will call the emailpassword.signUp recipe function from our backend SDK. This function does not create a session, but only creates a user in supertokens
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).