Auth0 Home Blog Docs

Callback hash changes


#1

Hey everybody,

We recently switched our app from hash based routing to standard. So now we were trying to use a dedicated callback for auth0. When the route is called it is callback/#access_token=eyJ0eXAiOiJ… After that it changes to callback#access_token%3DeyJ0eXAiOiJ… As you can see it removes the forward dash and changes the = to %3D. Parsehash returns a null on both the error and result in the callback on this.

Anybody have an idea on how I can resolve this? Thnx!


#2

is this an angular app? We saw this bug happening with a specificic version of angular and they fixed that in a patch fix.


#3

Yeah, it’s angular. I’m running version 5.2.8. Do you remember the version that had a problem?


#4

5.2.8 is the problem: https://twitter.com/dakire/status/972918723286847488

They fixed in 5.2.9: https://github.com/angular/angular/compare/5.2.8...5.2.9


#5

Thnx! Guess I’ll update soon.