Skip to content

Commit

Permalink
Fix idp domain being dropped when checking for existing user.
Browse files Browse the repository at this point in the history
  • Loading branch information
RushanNanayakkara committed Feb 12, 2024
1 parent 969c336 commit cbeccac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ public boolean isUsernameAlreadyTaken(String username, String tenantDomain) thro

if (StringUtils.isBlank(tenantDomain)) {
tenantDomain = MultitenantUtils.getTenantDomain(username);
// If tenant domain is not provided, tenant domain is derived from the username.
// If tenant domain is not provided, domain from the username is assumed to be the tenant domain.
username = MultitenantUtils.getTenantAwareUsername(username);
}
try {
Expand Down

0 comments on commit cbeccac

Please sign in to comment.