Skip to content

Commit

Permalink
fix tenant domain issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
dushaniw committed Feb 7, 2024
1 parent 3d277d8 commit 99e2c54
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ private static AuthenticatedUser resolveAuthenticatedUserFromEntityId(String ent
String userName = userStoreManager.getUserNameFromUserID(entityId);
if (StringUtils.isNotBlank(userName)) {
authenticatedUser = OAuth2Util.getUserFromUserName(userName);
authenticatedUser.setTenantDomain(TokenMgtUtil.getTenantDomain());
authenticatedUser.setUserId(entityId);
}
} catch (UserStoreException e) {
Expand Down

0 comments on commit 99e2c54

Please sign in to comment.