angular-token-auth
angular-token-auth copied to clipboard
Bad token encoding when UTF8 in payload
I made a copy of your script adapted to my needs, but it breaks in a line like https://github.com/auth0/angular-token-auth/blob/master/auth.client.js#L34
with error Unexpected token at JSON.parse.
This happens when the payload used to create token has an utf8 char in it in my case it was the character 'ć' .
Please check.