-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix JWT decoding of non padded headers
JWT headers are encoded using non-padded URL encoding. The existing code worked when headers were an exact multiple of 4 base64 chars but failed when the length mod 4 was non-zero.
- Loading branch information
1 parent
84bf6c2
commit 55a9bd0
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters