A react wrapper around auth0 js so that we can use custom screens.
#Refer to these documents :
Things we did :
- isLoading : A loding state which becomes true untill things are resolved.
- isAuthenticated : A state which determine if the user is authenticated.
- user : The user state which contains the user details.
- error : The error state for finding the issue.
- getAccessToken : To retreive the access token of the logged in user
- signup : A function used for signing up new users.
- login : A function for logging in existing users.
- logout : A function for loggin out users.
- Auth0Provider : A provider where developers should add the config for webAuth initialization
- withAuthenticationRequired : A higher order component used to wrap component to only allow access to logged in users.
Need to do :
- Error Handling
- Email already exists
- Faster Respose time (Loading should be decreased)