rp_st
04/15/2021, 7:22 PMdisableDefaultImplementation
to true
in signInAndUpFeature
when calling the init
function (see https://supertokens.io/docs/auth-react/emailpassword/init). This will basically remove the UI from /auth
. This mean you can handle this route to render anything you like.
- Then you would need to create your own component to show the login UI:
js
import {SignInAndUp} from "supertokens-auth-react/recipe/emailpassword";
render() {
return (
<SignInAndUp>
<YOUR UI COMPONENT GOES HERE>
</SignInAndUp>
);
}