|
|
@ -96,7 +96,7 @@ public class AccessTokenGrantHandler extends AbstractAuthorizationGrantHandler {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (response != null && response.isValid()) {
|
|
|
|
if (response != null && response.isValid()) {
|
|
|
|
authStatus = true;
|
|
|
|
authStatus = true;
|
|
|
|
username = response.getUserName();
|
|
|
|
username = response.getUserName() + "@" + response.getTenantDomain();
|
|
|
|
userTenantDomain = MultitenantUtils.getTenantDomain(username);
|
|
|
|
userTenantDomain = MultitenantUtils.getTenantDomain(username);
|
|
|
|
spTenantDomain = response.getTenantDomain();
|
|
|
|
spTenantDomain = response.getTenantDomain();
|
|
|
|
} else if (response != null && !response.isValid()) {
|
|
|
|
} else if (response != null && !response.isValid()) {
|
|
|
|