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 resolving subject claim when user resides in ancestor organization. #2103

Conversation

sadilchamishka
Copy link
Contributor

@sadilchamishka sadilchamishka commented Jun 19, 2023

Proposed changes in this pull request

The subject claim for the given user ID can only be resolved if user exist in that tenant(organization). Therefore the logic is improved to first check the user's existence. If user not found, user should be resolved from the ancestor organizations before trying to resolve the subject claim.

@jenkins-is-staging
Copy link

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

@jenkins-is-staging
Copy link

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

@jenkins-is-staging
Copy link

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

@jenkins-is-staging
Copy link

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

@sadilchamishka sadilchamishka force-pushed the improve-resolve-subject-identifier-logic branch from e787c87 to 049eee8 Compare June 29, 2023 17:35
@sadilchamishka sadilchamishka merged commit 6a93ff8 into wso2-extensions:master Jul 5, 2023
1 check 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