Overview
When trying to login to an app, the following error is received:
Fatal error: Uncaught Auth0\SDK\Exception\StateException: Code exchange was unsuccessful; network error resulted in unfulfilled request…
Cause
An incorrect Client Secret on the remote server “.env” file.
Solution
- Run the Auth0 app locally. This will determine if there is an issue with the remote server.
- Confirm all settings in the server are correct.
- Check the client’s secret.