I'm using Angular 5.2 with Auth0 for authentication. The login is done on a hosted login page by Auth0. That page redirects to my callback page myapp.com/login-callback in my Angular app.
Auth0 hands over some tokens via the hash in the url. So it redirects to
myapp.com/login-callback#access_token=123456789
Now comes the problem.. Since I changed my project to Angular-CLI and updated it from 5.1 to 5.2 Angular encodes the hash fragment, so that it becomes
myapp.com/login-callback#access_token%3D123456789
The = is encoded to %3D
Therefore the auth0 parsing function doesn't work anymore.
How can I prevent Angular from encoding the hash fragment of the url? I use the default routing strategy (by path, not by hash).