Auth0 Home Blog Docs

Auth0 Angular seed application does not properly login on Firefox

login
angular2
angular2-redirect

#1

I have downloaded the starter project provided by Auth0 for Angular2:

https://auth0.com/docs/quickstart/spa/angular2/01-login

When I run it locally it behaves differently in Chrome compared to Firefox. In Chrome I can login as expected and I end up on this URL:

http://localhost:4200/

In Firefox I can login but after login I’m stuck on this URL:

http://localhost:4200/callback

Can anybody explain why this difference happens?


#2

@mrden I had this issue too and resolved this by removing the below line from the handleAuthentication() method in auth.service.ts
window.location.hash = ‘’;


#3