Skip to content

Commit

Permalink
Fixed SAML login configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
monotasker committed Aug 10, 2023
1 parent fbccab5 commit 3ff4401
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions invenio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -546,11 +546,20 @@ SSO_SAML_IDPS = {

# Account Mapping
"mappings": {
"email": "mail",
"name": "cn",
"surname": "sn",
"external_id": "external_id",
"email": "urn:oid:0.9.2342.19200300.100.1.3", # "mail"
# "name": "urn:oid:2.5.4.3", # "cn"
"name": "urn:oid:2.5.4.42", # "givenName"
"surname": "urn:oid:2.5.4.4", # "sn"
"external_id": "urn:oid:2.16.840.1.113730.3.1.3", # "employeeNumber"
},
# "title", 'urn:oid:2.5.4.12': ['Hc Developer'],
# 'urn:oid:2.16.840.1.113730.3.1.3': ['iscott'],
# 'urn:oid:0.9.2342.19200300.100.1.1': ['[email protected]'],
# "isMemberOf", 'urn:oid:1.3.6.1.4.1.5923.1.5.1.1': ['CO:COU:HC:members:active'],
# 'urn:oid:1.3.6.1.4.1.49574.110.13': ['https://google-gateway.hcommons-dev.org/idp/shibboleth'],
# 'urn:oid:1.3.6.1.4.1.49574.110.10': ['Google login'],
# 'urn:oid:1.3.6.1.4.1.49574.110.11': ['Humanities Commons'],
# 'urn:oid:1.3.6.1.4.1.49574.110.12': ['Humanities Commons']}

# Inject your remote_app to handler
# Note: keep in mind the string should match
Expand Down

0 comments on commit 3ff4401

Please sign in to comment.