Hey team, I have an use case where when I invite ...
# support-questions-legacy
m
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
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
2 Views