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

Validate the signer field in the JWT header #3

Merged
merged 2 commits into from
Aug 28, 2024
Merged

Conversation

sankichi92
Copy link
Member

From https://docs.aws.amazon.com/elasticloadbalancing/latest/application/listener-authenticate-users.html:

To ensure security, you must verify the signature before doing any authorization based on the claims and validate that the signer field in the JWT header contains the expected Application Load Balancer ARN.

This PR implements this validation for the signer field in the JWT header.

@sankichi92 sankichi92 requested a review from satoyuichi July 11, 2024 07:24
Copy link

@satoyuichi satoyuichi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sankichi92 sankichi92 merged commit 1a86046 into main Aug 28, 2024
3 checks passed
@sankichi92 sankichi92 deleted the validate-signer branch August 28, 2024 09:31
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.

2 participants