Commits (3)
......@@ -6,7 +6,7 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TargetFramework>net6.0</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<Version>2.4.3</Version></PropertyGroup>
<Version>2.4.4</Version></PropertyGroup>
<PropertyGroup>
<Authors>RWTH Aachen University</Authors>
<Company>IT Center, RWTH Aachen University</Company>
......
......@@ -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;
......