Skip to content

improved isJWT.js to decode base64 strings and verify them#2594

Closed
aryanlmfaoo wants to merge 2 commits intovalidatorjs:masterfrom
aryanlmfaoo:master
Closed

improved isJWT.js to decode base64 strings and verify them#2594
aryanlmfaoo wants to merge 2 commits intovalidatorjs:masterfrom
aryanlmfaoo:master

Conversation

@aryanlmfaoo
Copy link
Copy Markdown

@aryanlmfaoo aryanlmfaoo commented Oct 1, 2025

Improvement(isJWT): Improved isJWT to decode the JWT base64 strings and verify if they are valid objects after decoding and parsing them (issue #2511)

Fixed issue #2251 by verifying that the JWT string are actual JSON objects after decoding them(base64 to utf8) and parsing them into JSON, and then verifying the given JSON.

@aryanlmfaoo aryanlmfaoo closed this Oct 1, 2025
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 this pull request may close these issues.

1 participant