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