Hi all,
This type of problem normally occurs because of a configuration error. We have a related FAQ item which may help here.
The auth0Client is undefined
error normally occurs because the authorization server is returning an error result to you. Things to check:
- Open the network tab in your browser’s developer tools, find the call to
/authorize
onhttps://<your tenant>.auth0.com
and check the response. You may find that an HTML page is returned to you giving you hints about the problem - Open your Auth0 dashboard and inspect the logs. There may be something in there about a failed authorization call
We normally see this because of either the Allowed Callback URLs or Allowed Web Origin URLs are incorrect/haven’t been specified.
If the configuration for your client-side app matches that of your Auth0 application and there are no config errors, can someone please provide a small repro application that we can use to debug the issue?