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

(PXP-6617): remove scopes from jwt aud claim #3

Merged
merged 7 commits into from
May 26, 2021
Merged

Conversation

vpsx
Copy link
Contributor

@vpsx vpsx commented May 26, 2021

Jira Ticket: PXP-6617

Related Fence changes: uc-cdis/fence#839

Unsure why feat/initial has not been merged. Arborist currently requires feat/initial. Mariner currently requires the current tip of master.

New Features

  • Note: This PR also includes changes from the branch feat/initial, which improves handling around missing keys and fixes exp validation.

Breaking Changes

  • In step with Fence 5.0.0 changes to issued JWTs, in which scopes are moved out of the aud claim into a scopes claim, change JWT validation logic so that it does the same validation it was doing on the aud field, but does it on the scope field instead.
  • Do not require a scope claim to be present in the JWT if the calling function does not pass a required scope.

Bug Fixes

Improvements

Dependency updates

Deployment changes

@vpsx vpsx merged commit 909ef98 into master May 26, 2021
@vpsx vpsx deleted the fix/aud-scopes branch June 8, 2021 15:24
@vpsx vpsx restored the fix/aud-scopes branch June 8, 2021 15:28
@vpsx vpsx deleted the fix/aud-scopes branch June 17, 2021 17:04
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