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

return header with payload when decoding token #17

Open
krisztian-toth opened this issue Oct 31, 2018 · 1 comment
Open

return header with payload when decoding token #17

krisztian-toth opened this issue Oct 31, 2018 · 1 comment

Comments

@krisztian-toth
Copy link

Would be nice if the header would be included in the JWT#decode method. If not, it'd be convenient to have a get_unverified_headers method on the JWT class.

@klausmyrseth
Copy link

klausmyrseth commented Jan 21, 2020

I vote for the latest so its possible to match keys before verification/decode.

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

2 participants