- auth0-react
- SDK Version: 1.10.1
- React Version:17.0.0
When getting this redirect that that I set up with rules I get invalid state as the error instead of the actual error returned.
The redirected URL:
http:///?error=unauthorized&error_description=Please%20verify%20your%20email%20before%20logging%20in.&state=QnFTa0JoRnJscDZPcklwTWdrbnM3OThMUDh6ODZ2YXlpRHZtUWhzLWhUcw%3D%3D#/
in const { isAuthenticated, error, logout } = useAuth0() the error is invalid state instead of the expected unauthorized.