Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jwt.decode fails on new id_tokens #138

Open
meiriko opened this issue Dec 18, 2017 · 0 comments
Open

jwt.decode fails on new id_tokens #138

meiriko opened this issue Dec 18, 2017 · 0 comments

Comments

@meiriko
Copy link

meiriko commented Dec 18, 2017

The example in the template fails. After adding the json: true flag, it works properly. This line should be changed to:

jwt.decode(token, {complete: true, json: true})

https://github.com/graphcool/templates/blob/4515dcd930743c436248c053624fc74dd949a0d5/auth/auth0/src/auth0Authentication.js#L10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant