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

[UsernameValidation] get tenantDomain from Context #748

Closed

Conversation

Thumimku
Copy link
Contributor

Proposed changes in this pull request

Issue: wso2/product-is#16357

Rather than deriving the tenant Domain from the username, we should get the tenant domain from the URL context.

@jenkins-is-staging
Copy link

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

@jenkins-is-staging
Copy link

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

@@ -220,4 +220,10 @@ private String resolveTenantDomain(UsernameValidationRequestDTO usernameValidati
}
return tenantDomain;
}

private String getTenantDomainFromContext() {

Choose a reason for hiding this comment

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

Do we need to check the backward compatibility here?

@Thumimku Thumimku closed this Sep 15, 2023
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