Skip to content

jwt.decode fails on new id_tokens #138

@meiriko

Description

@meiriko

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions