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

feat(Gate): add BPN claim check for extracting grants from a JWT #724

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

nicoprow
Copy link
Contributor

Description

This pull request enhances the JWT validation services to consider only grants if the JWT has a matching BPN claim.

The Gate makes use of that functionality by passing its own registired BPN. Other services like the Pool are not BPN specific and do not need to specify a BPN for token validation. If no BPN is specified grants are extracted without any BPN check.

Closes #723

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

@nicoprow nicoprow marked this pull request as ready for review January 25, 2024 14:44
@nicoprow nicoprow merged commit 8d17cd8 into eclipse-tractusx:main Feb 1, 2024
9 checks passed
@nicoprow nicoprow deleted the feat/gate/bpn-auth branch February 1, 2024 08:05
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.

Gate Authentication Should be BPN Specific
2 participants