use-auth0-hooks
use-auth0-hooks copied to clipboard
Confusing error message
As goszczynskip mentioned on:
https://github.com/sandrinodimattia/use-auth0-hooks/issues/2
if you have a different redirect_url passed to login() than the one on Auth0 config, it will show a message saying "Auth0Client was not initialized" and that's very confusing.
This seemed to be happening due to the wrong "Allowed Web Origins". I'm adding it here to facilitate the reproduction, but the message is still very confusing, so I keep the message improvement suggestion.
All of the concepts of this library have been moved to the official Auth0 SDK for React (https://github.com/auth0/auth0-react), so I'll be archiving this repository shortly.