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

Encrypted JWTs stopped working, crashing with TypeError #27

Closed
mormegil-cz opened this issue Aug 30, 2023 · 2 comments
Closed

Encrypted JWTs stopped working, crashing with TypeError #27

mormegil-cz opened this issue Aug 30, 2023 · 2 comments

Comments

@mormegil-cz
Copy link
Contributor

In 10c718c#diff-523b5854607cd30a5e831cbdd362cee9d0b3e6b7e499ebd2837544a2889ba95cR715 a let was replaced with a const. However, the matches value gets overwritten in case of encrypted JWTs at

matches = re.encrypted.jwt.exec(tokenString);

Which results in TypeError: Assignment to constant variable.

@DinoChiesa
Copy link
Owner

DinoChiesa commented Aug 30, 2023 via email

@DinoChiesa
Copy link
Owner

Fixed

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

Successfully merging a pull request may close this issue.

2 participants