Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Correct use of request_attributes in SAML documentation

Oliver Güntherf9f95b54ad18
diff --git a/docs/system-admin-guide/authentication/saml/README.md b/docs/system-admin-guide/authentication/saml/README.md
index 9e5b3c0fdfe..e2430a4565a 100644
--- a/docs/system-admin-guide/authentication/saml/README.md
+++ b/docs/system-admin-guide/authentication/saml/README.md
@@ -144,25 +144,24 @@ If you have URN or OID attribute identifiers, you can modify the request as foll
```yaml
# <-- other configuration -->
# Modify the request attribute sent in the request
+# These oids are exemplary, but will often be identical,
+# please check with your identity provider for the correct oids
request_attributes:
- - name: email
+ - name: 'urn:oid:0.9.2342.19200300.100.1.3'
+ friendly_name: 'Mail address'
name_format: urn:oasis:names:tc:SAML:2.0:attrname-format:uri
- - name: first_name
+ - name: 'urn:oid:2.5.4.42'
+ friendly_name: 'First name'
name_format: urn:oasis:names:tc:SAML:2.0:attrname-format:uri
- - name: last_name
+ - name: 'urn:oid:2.5.4.4'
+ friendly_name: 'Last name'
name_format: urn:oasis:names:tc:SAML:2.0:attrname-format:uri
# Attribute map in SAML
-# These oids are exemplary, but will often be identical,
-# please check with your identity provider for the correct oids
attribute_statements:
- # Use the `mail` attribute for
email: ['urn:oid:0.9.2342.19200300.100.1.3']
- # Use the mail address as login
login: ['urn:oid:0.9.2342.19200300.100.1.3']
- # What attribute in SAML maps to the first name (default: givenName)
first_name: ['urn:oid:2.5.4.42']
- # What attribute in SAML maps to the last name (default: sn)
last_name: ['urn:oid:2.5.4.4']
```