Auth0 Home Blog Docs

IE/Edge Browsers - Cannot decode a malformed JWT

jwt-oidc-error

#1

We have recently upgraded our authentication flow to use OIDC compliance. After doing so and following the new tutorial: https://auth0.com/docs/quickstart/spa/angularjs/01-login

Authentication no longer works for IE or the Edge browsers. It fails when a call to parseHash in the handleAuthentication method is made. The parseHash method returns an error: "invalid-token" with the description "Cannot decode a malformed JWT". Anyone have any idea what might be going on here?


#2