Skip to content

Prevent payload access for unverified tokens#648

Merged
anakinj merged 1 commit intojwt:mainfrom
anakinj:safer-payload-handling
Dec 28, 2024
Merged

Prevent payload access for unverified tokens#648
anakinj merged 1 commit intojwt:mainfrom
anakinj:safer-payload-handling

Conversation

@anakinj
Copy link
Copy Markdown
Member

@anakinj anakinj commented Dec 28, 2024

Description

Prevent access to payload before token has been verified. This to mitigate implementations forgetting to verify the signature before trusting the payload.

Checklist

Before the PR can be merged be sure the following are checked:

  • There are tests for the fix or feature added/changed
  • A description of the changes and a reference to the PR has been added to CHANGELOG.md. More details in the CONTRIBUTING.md

@anakinj anakinj force-pushed the safer-payload-handling branch 3 times, most recently from c0b9d1a to cf22161 Compare December 28, 2024 12:27
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