supertokens-auth-react
supertokens-auth-react copied to clipboard
ReactJS authentication module for SuperTokens
- This will allow users to wrap their entire app with recipe auth wrapper without worrying about infinite redirection issues. - It would also enable users to embed email verification...
for e.g users might want the "Full name" field to appear before the email and password field.
Ideally, we should only have to pass: - RecipeImplementation - Recipe Config - Success callbacks A high level design principle for this is that if someone wants to customise the...
- We would like it to show a popup in case an API call results in session expiry - so that the user does not have to handle this themselves....
## Field decorators We want to allow to extend the default EmailPassword theme to add custom behaviour such as : - Password strength meters - weak | good | excellent...
The likely cause is an async function finishing and updating the form state while another event handler has already navigated the UI to the next state.
If a user wants to optionally render the `` component, they would do something like this: ``` function () { let sessionContext = useSesionContext(); if (sessionContext.doesSessionExist) { // session extist!...
- They should be able to give their own logic for normalising this on the frontend and backend SDKs - similar to how they can give their own logic for...
Some of the feature / theme components like email verification components don't follow this making it harder for users to customise the UI / UX if needed.