Open meiriko opened 6 years ago
The example in the template fails. After adding the json: true flag, it works properly. This line should be changed to:
json: true
jwt.decode(token, {complete: true, json: true})
https://github.com/graphcool/templates/blob/4515dcd930743c436248c053624fc74dd949a0d5/auth/auth0/src/auth0Authentication.js#L10
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