use-auth0-hooks icon indicating copy to clipboard operation
use-auth0-hooks copied to clipboard

Confusing error message

Open brunoreis opened this issue 5 years ago • 2 comments

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.

brunoreis avatar Dec 09 '19 21:12 brunoreis

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.

brunoreis avatar Dec 09 '19 21:12 brunoreis

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.

sandrinodimattia avatar Jun 23 '20 12:06 sandrinodimattia