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

[SDK-4410] Support Organization Name in JWT validation #184

Merged
merged 5 commits into from
Jul 14, 2023

Conversation

stevehobbsdev
Copy link
Contributor

@stevehobbsdev stevehobbsdev commented Jul 13, 2023

Changes

This PR adds support for org_name claim validation in the JWT validator.

Testing

  • This change adds unit test coverage
  • This change has been tested on the latest version of the platform/language or why not

Checklist

@stevehobbsdev stevehobbsdev requested a review from a team as a code owner July 13, 2023 12:18
})))
end

it 'should fail when authorize params has organization but token org_id does not match' do
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add an equivalent test for org_name?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Absolutely, thanks for catching that. Fixed in d741106

@stevehobbsdev stevehobbsdev merged commit 6f8262d into master Jul 14, 2023
9 checks passed
@stevehobbsdev stevehobbsdev deleted the sdk-4410/org-name branch July 14, 2023 09:29
@stevehobbsdev stevehobbsdev mentioned this pull request Jul 25, 2023
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.

None yet

2 participants