Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Coscine
backend
apis
STS
Commits
84cf5594
Commit
84cf5594
authored
May 11, 2022
by
Hanna Führ
Committed by
Petar Hristov
May 11, 2022
Browse files
Fix: Updating Shibboleth attribute mapping for givenname
parent
79ba5d89
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/STS/Utils/ShibbolethAttributeMapping.cs
View file @
84cf5594
...
...
@@ -15,7 +15,8 @@ namespace Coscine.Api.STS.Utils
{
"urn:oasis:names:tc:SAML:attribute:pairwise-id"
,
"pairwise-id"
},
{
"urn:oid:2.16.840.1.113730.3.1.241"
,
"DisplayName"
},
{
"urn:oid:2.5.4.4"
,
"Surname"
},
{
"urn:oid:1.3.6.1.4.1.5540.2.1.96"
,
"Givenname"
},
{
"urn:oid:1.3.6.1.4.1.5540.2.1.96"
,
"RWTHGivenname"
},
{
"urn:oid:2.5.4.42"
,
"Givenname"
},
{
"urn:oid:0.9.2342.19200300.100.1.3"
,
"EmailAddress"
},
{
"urn:oid:1.3.6.1.4.1.5923.1.1.1.9"
,
"ScopedAffiliation"
},
{
"urn:oid:2.5.4.10"
,
"Organization"
},
...
...
@@ -34,6 +35,9 @@ namespace Coscine.Api.STS.Utils
case
"urn:oid:1.3.6.1.4.1.5540.2.1.96"
:
user
.
Givenname
=
(
string
)
value
;
break
;
case
"urn:oid:2.5.4.42"
:
user
.
Givenname
=
(
string
)
value
;
break
;
case
"urn:oid:0.9.2342.19200300.100.1.3"
:
user
.
EmailAddress
=
(
string
)
value
;
break
;
...
...
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