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

README Documentation Incorrect #8

Open
rdegges opened this issue Jan 13, 2016 · 0 comments
Open

README Documentation Incorrect #8

rdegges opened this issue Jan 13, 2016 · 0 comments

Comments

@rdegges
Copy link

rdegges commented Jan 13, 2016

It looks like there are some issues with the readme in the docs here.

For instance, if I console.log a JWT, I get the following output:

Jwt {
  header: JwtHeader { typ: 'JWT', alg: 'HS256' },
  body:
   JwtBody {
     iss: 'woot',
     sub: 'woot',
     scope: 'self, admins',
     jti: '0398b13d-6a39-4028-813b-2219e077a09b',
     iat: 1452724525,
     exp: 1452728125 },
  signingKey: 'hithere' }

Compare this to the expected output from the readme:

screenshot 2016-01-13 14 37 25

As you can see: in the actual console output the claims are NOT converted to an array, and the output is not pure JSON -- it is mixed with objects.

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

No branches or pull requests

1 participant