RiddleMan / doken

Tool for getting tokens from OAuth 2.0/OpenID Connect providers
MIT License
12 stars 0 forks source link

feat: Add `--output` to allow user to show contents of JWT tokens #42

Open RiddleMan opened 2 years ago

RiddleMan commented 2 years ago

Would be great to have a ability to look into the contents of JWT token if --output json is passed. If token isn't a JWT, then show an error.

RiddleMan commented 2 years ago

jsonwebtoken library requires to verify token with the right key before we could get all claims. It's right approach, but might need JWKS and it depends on #35