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

Improve federated idp initiated logout for multiple IDP sessions #182

Conversation

sadilchamishka
Copy link
Contributor

Proposed changes in this pull request

$subject

@sadilchamishka sadilchamishka marked this pull request as draft April 24, 2024 02:08
@sadilchamishka sadilchamishka marked this pull request as ready for review April 24, 2024 14:25
@jenkins-is-staging
Copy link

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

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/8819083423
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/8819083423

@@ -346,6 +369,10 @@ protected void validateIssuerClaim(JWTClaimsSet claimsSet) throws LogoutClientEx
*/
protected void validateAudience(List<String> aud, IdentityProvider idp) throws LogoutClientException {

// Validate audience is skipped for the resident IDP.
if (RESIDENT_IDP_RESERVED_NAME.equals(idp.getIdentityProviderName())) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's add the audience validation for the resident idp tokens as well. Need to check the complexity of doing this.

@sadilchamishka sadilchamishka merged commit 8d3835d into wso2-extensions:master Apr 25, 2024
3 checks passed
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.

3 participants