supertokens-auth-react icon indicating copy to clipboard operation
supertokens-auth-react copied to clipboard

Allow users to easily split sign in and sign up component in EmailPassword and ThirdPartyEmailPassword recipe

Open rishabhpoddar opened this issue 3 years ago • 0 comments

Perhaps should be something like:


<SignInUp showSignUp={false} />

<SignInUp showSignIn={false} />

And those can be rendered in different places in the user's app. We will also have to change the redirect path callback function to for the action of SIGN_IN_UP to say which one the user wants to see.

This is possible at the moment via using CSS customisation and override feature: https://github.com/supertokens/supertokens-auth-react/blob/sign-in-up-split-demo/examples/with-emailpassword/src/App.js

rishabhpoddar avatar Jan 12 '22 16:01 rishabhpoddar