From 8a0fa538ac85e60459b2fcb7354411b8a50d46cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marian=20=C4=8Eurkovi=C4=8D?= <38649074+durkovic@users.noreply.github.com> Date: Mon, 20 May 2024 21:18:42 +0200 Subject: [PATCH] Corrections for HOWTO Configure Shibboleth IdP v4.x for Office 365.md Released attribute name must be IDPEmail --- ...gure Shibboleth IdP v4.x for Office 365.md | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/idem-fedops/HOWTO-Shibboleth/Solutions/HOWTO Configure Shibboleth IdP v4.x for Office 365.md b/idem-fedops/HOWTO-Shibboleth/Solutions/HOWTO Configure Shibboleth IdP v4.x for Office 365.md index 921471a3..8b61d309 100644 --- a/idem-fedops/HOWTO-Shibboleth/Solutions/HOWTO Configure Shibboleth IdP v4.x for Office 365.md +++ b/idem-fedops/HOWTO-Shibboleth/Solutions/HOWTO Configure Shibboleth IdP v4.x for Office 365.md @@ -8,6 +8,8 @@ ## Instructions +Reference: https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-fed-saml-idp + 1. Into `conf/relying-party.xml`, under ``, add the following ``: ```xml @@ -54,7 +56,7 @@ - + ``` @@ -70,28 +72,26 @@ description.en=Azure AD ImmutableID description.it=Azure AD ImmutableID saml2.name=urn:oid:1.2.840.113556.1.4.2 - saml1.encodeType=false + saml2.encodeType=false ``` -5. Create `conf/attributes/custom/UserId.properties` as follow (the example considers italian and english languages only): +5. Create `conf/attributes/custom/IDPEmail.properties` as follow (the example considers italian and english languages only): ```properties - # Azure AD User ID + # Azure AD IDPEmail - id=UserId + id=IDPEmail transcoder=SAML2ScopedStringTranscoder - displayName.en=Azure AD User ID - displayName.it=Azure AD User ID - description.en=Azure AD User ID - description.it=Azure AD User ID - saml2.name=urn:oid:0.9.2342.19200300.100.1.1 - saml1.encodeType=false + displayName.en=Azure AD IDPEmail + displayName.it=Azure AD IDPEmail + saml2.name=IDPEmail + saml2.friendlyName= + saml2.nameFormat= + saml2.encodeType=false ``` 6. Create Office 365 metadata: * `wget https://nexus.microsoftonline-p.com/federationmetadata/saml20/federationmetadata.xml -O /opt/shibboleth-idp/metadata/office365-md.xml` - (and remove the NameIDFormat "`unspecified`" or the relase NameID will be always "`transient`") - 7. Into `conf/metadata-providers.xml` add the Office 365 metadata: ```xml @@ -104,7 +104,7 @@ - +