Skip to content

Bad token encoding when UTF8 in payload #9

Description

@MilosStanic

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions