Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Security and Compliance
entitlements-azure
Commits
e4319ef9
Commit
e4319ef9
authored
Sep 17, 2020
by
Alok Joshi
Browse files
add support for sauth token
parent
72142151
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/opengroup/osdu/azure/entitlements/service/EntitlementsAzure.java
View file @
e4319ef9
...
...
@@ -462,7 +462,7 @@ public class EntitlementsAzure
}
else
if
(
type
==
UserType
.
OTHER
){
String
oId
=
userPrincipal
.
getClaim
(
"email"
).
toString
();
if
(
StringUtils
.
isEmpty
(
oId
))
{
oId
=
userPrincipal
.
getClaim
(
"
appcode
"
).
toString
();
oId
=
userPrincipal
.
getClaim
(
"
userid
"
).
toString
();
}
context
.
setOid
(
oId
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment