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

Update jwt-api to accept either a string or list of strings for issuer validation #913

Merged
merged 2 commits into from
Sep 3, 2023

Conversation

mattpollak
Copy link
Contributor

This diff updates jwt issuer validation to accept either a string (as it always has) or a List[str], and consideres the jwt iss claim valid if the single string matches or if jwt[iss] is found in the list. Method signatures should be unchanged, though types were updated.

@auvipy auvipy self-requested a review August 27, 2023 14:54
@mattpollak
Copy link
Contributor Author

If there is anything else I can do to get this merged, please let me know! And thank you for reviewing.

@auvipy auvipy merged commit 332774f into jpadilla:master Sep 3, 2023
24 checks passed
@mattpollak mattpollak deleted the feature/issuer-list branch September 5, 2023 14:00
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