diff --git a/django/sp_sso/sp_sso/settings.py b/django/sp_sso/sp_sso/settings.py index 06aa8a0..2930481 100644 --- a/django/sp_sso/sp_sso/settings.py +++ b/django/sp_sso/sp_sso/settings.py @@ -75,7 +75,9 @@ MELLON_ATTRIBUTE_MAPPING = { 'prenom': 'urn:oid:2.5.4.42', # givenName 'nom': 'urn:oid:2.5.4.4', # sn 'email' : 'urn:oid:0.9.2342.19200300.100.1.3', # mail + 'ep_principal_name' : 'urn:oid:1.3.6.1.4.1.5923.1.1.1.10', # workaround for p13 'ep_principal_name' : 'urn:oid:1.3.6.1.4.1.5923.1.1.1.6', # eduPersonPrincipalName + #'ep_principal_name' : 'eppn', # eduPersonPrincipalName at Paris13 's_etablissement' : 'urn:oid:1.3.6.1.4.1.7135.1.2.1.14', # supannEtablissement 'ep_primary_affiliation' : 'urn:oid:1.3.6.1.4.1.5923.1.1.1.5', # eduPersonPrimaryAffiliation 'ep_affiliation' : 'urn:oid:1.3.6.1.4.1.5923.1.1.1.1', # eduPersonPrimaryAffiliation @@ -90,14 +92,17 @@ MELLON_SUPERUSER_MAPPING = { } # The official Condorcet IdP uses a transient NameID attribute. It also -# forwards on a eduTargetID. -MELLON_TRANSIENT_FEDERATION_ATTRIBUTE = 'urn:oid:1.3.6.1.4.1.5923.1.1.1.10' # eduTargetID +# forwards on a eduTargetedID. +#MELLON_TRANSIENT_FEDERATION_ATTRIBUTE = 'urn:oid:1.3.6.1.4.1.5923.1.1.1.10' # eduTargetedID +MELLON_TRANSIENT_FEDERATION_ATTRIBUTE = 'urn:oid:1.3.6.1.4.1.5923.1.1.1.6' # EPPN MELLON_IDENTITY_PROVIDERS = [ -{'METADATA_URL': 'http://idp-condorcet.dev.entrouvert.org/idp/saml2/metadata'}, # PoC IdP -{'METADATA_URL': 'https://idp-campus-condorcet.renater.fr/idp/shibboleth'}, # CC IdP -{'METADATA_URL': 'https://shibboleth.ehess.fr/idp/shibboleth'}, # EHESS IdP -{'METADATA_URL': 'https://federation-identite.univ-paris13.fr/idp/shibboleth'} # Paris 13 IdP + {'METADATA_URL': 'http://idp-condorcet.dev.entrouvert.org/idp/saml2/metadata'}, # PoC IdP + {'METADATA_URL': 'https://idp-campus-condorcet.renater.fr/idp/shibboleth'}, # CC IdP + {'METADATA_URL': 'https://shibboleth.ehess.fr/idp/shibboleth'}, # EHESS IdP + {'METADATA_URL': 'https://federation-identite.univ-paris13.fr/idp/shibboleth'}, # Paris 13 IdP + {'METADATA_URL': 'https://shibbov3.ephe.fr/idp/shibboleth'}, # EPHE IdP + {'METADATA_URL': 'https://idp-test.univ-paris1.fr/idp/shibboleth'} # Paris 1 Test IdP ] MELLON_DISCOVERY_SERVICE_URL = "https://discovery.renater.fr/test"