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

Fix mutli-valued claims not separating in the SAML federation flow #421

Merged

Conversation

PasinduYeshan
Copy link
Contributor

@PasinduYeshan PasinduYeshan commented Mar 8, 2024

In the SAML outbound authenticator, the concatenation of multivalued attributes relies on the attribute separator configured in the primary user store. To ensures consistency, multi-attribute separator from the primary user store is employed to separate multivalued attributes here when the MultiAttributeSeparator is absent in the claims.

Important:
This fix is a workaround and the issue for a proper fix is tracked here

Related Issues

Comment on lines 480 to 481
/* reference ApplicationAuthenticationService service to guarantee that this component will wait until
authentication framework is started */
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/* reference ApplicationAuthenticationService service to guarantee that this component will wait until
authentication framework is started */
/* Reference ApplicationAuthenticationService service to guarantee that this component will wait until
authentication framework is started. */

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/8322165705

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/8322165705
Status: success

Copy link

@jenkins-is-staging jenkins-is-staging left a comment

Choose a reason for hiding this comment

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

Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/8322165705

@mpmadhavig mpmadhavig merged commit a74fbd2 into wso2-extensions:master Mar 18, 2024
3 checks passed
* store's attribute separator. Therefore, to ensure uniformity, the multi-attribute separator from
* the primary user store is utilized for separating multivalued attributes when MultiAttributeSeparator
* is not available in the claims.
*/

Choose a reason for hiding this comment

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

It is ideal to use block comment (/* */) in these places

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.

5 participants