Merge pull request #820 from janakamarasena/bug-fixes-2

Added tenant domain to username in AccessToken grant
4.x.x
Madhawa Perera 7 years ago committed by GitHub
commit 96c650f699

@ -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…
Cancel
Save