Angular = 9.0.0
@auth0/auth0-angular = 1.3.0
Problem Statement - The angular web app is not redirected correctly if the URL contains the ‘state’ and ‘code’ query parameters.
I am using a third-party app that sends customers to my angular web application.
That third-party app URL contains the ‘state’ and ‘code’ query parameters.
We could not control the third-party application.
When the URL contains the ‘state’ and ‘code’ query parameters, the application is redirected to the error path.
If I remove the error path from the Auth0 configuration, the application is redirected to the path: ‘**’ which I have defined at the last in the app-routing-module.ts
If I remove the state query parameter from the URL, the application is redirected to the correct route.