Hi, I’ve been using Auth0 Angular for a while now. Our app has a new feature where users can authenticate with Mendeley in order to import their collections of references.
When Mendeley redirects the user back to my app it includes the code and state params in the url, e.g. “http://localhost:4200/auth-code?state=213653957730.97845&code=zNlyssMxdc8XcKeLdfHvtxmApe”.
However, I’m seeing that if any url in my app contains a query parameter named “state” then Auth0 takes over, detects an error, and sends the user to the configured errorPath or the root url.
I’ve tried custom route guards and custom http interceptors but neither are able to prevent Auth0 Angular from taking over.
Any suggestions?