Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
STS
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coscine
backend
apis
STS
Merge requests
!122
Fix: Updating Shibboleth attribute mapping for givenname
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix: Updating Shibboleth attribute mapping for givenname
Hotfix/2103-RepositoryurlstoConsulUpdateMappingGivennameUiv2
into
uiv2
Overview
0
Commits
2
Pipelines
3
Changes
1
Merged
Hanna Führ
requested to merge
Hotfix/2103-RepositoryurlstoConsulUpdateMappingGivennameUiv2
into
uiv2
3 years ago
Overview
0
Commits
2
Pipelines
3
Changes
1
Expand
coscine/issues#2103
0
0
Merge request reports
Compare
uiv2
version 1
9ca078e7
3 years ago
uiv2 (base)
and
latest version
latest version
957c2b74
2 commits,
3 years ago
version 1
9ca078e7
1 commit,
3 years ago
1 file
+
5
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/STS/Utils/ShibbolethAttributeMapping.cs
+
5
−
1
Options
@@ -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
;
Loading