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

Audience single string claim data type retention when copying #891

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

lhazlewood
Copy link
Contributor

Ensured a single string aud (Audience) claim would be retained (without converting it to a Set) when copying/applying a source Claims instance to a destination Claims builder.

Updated CHANGELOG.md accordingly.

Fixes #890.

…hout converting it to a `Set`) when copying/applying a source Claims instance to a destination Claims builder. Updated CHANGELOG.md accordingly.

Fixes #890.
@lhazlewood lhazlewood added this to the 0.12.4 milestone Jan 11, 2024

assertEquals aud, m.get('aud') // single string value
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@devdanylo and @arvindkrishnakumar-okta

Please feel free to take a look at this PR and the test case immediately above, especially lines 1184, 1185 and 1198.

Tests pass locally, I'm just waiting for CI to verify.

Choose a reason for hiding this comment

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

LGTM, thanks for the quick response!

Choose a reason for hiding this comment

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

Thank you  🤝

@lhazlewood
Copy link
Contributor Author

CI passed successfully, merging.

@lhazlewood lhazlewood merged commit 406f2f3 into master Jan 11, 2024
24 checks passed
@lhazlewood lhazlewood deleted the 890-fix branch January 11, 2024 21:34
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.

A single audience value gets converted into a set with one entry
3 participants