mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Add tenant domain to username
This commit is contained in:
parent
2e7066d73f
commit
7218174d46
@ -96,7 +96,7 @@ public class AccessTokenGrantHandler extends AbstractAuthorizationGrantHandler {
|
||||
}
|
||||
if (response != null && response.isValid()) {
|
||||
authStatus = true;
|
||||
username = response.getUserName();
|
||||
username = response.getUserName() + "@" + response.getTenantDomain();
|
||||
userTenantDomain = MultitenantUtils.getTenantDomain(username);
|
||||
spTenantDomain = response.getTenantDomain();
|
||||
} else if (response != null && !response.isValid()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user