Commit d22d1173 authored by Alok Joshi's avatar Alok Joshi
Browse files

comment

parent e4319ef9
Pipeline #9131 failed with stage
in 2 minutes and 48 seconds
......@@ -460,10 +460,8 @@ public class EntitlementsAzure
context.setUid(userPrincipal.getClaim("appid").toString());
context.setOid(userPrincipal.getClaim("oid").toString());
} else if (type == UserType.OTHER){
// non-AAD tokens
String oId = userPrincipal.getClaim("email").toString();
if(StringUtils.isEmpty(oId)) {
oId = userPrincipal.getClaim("userid").toString();
}
context.setOid(oId);
}
return context;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment