Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

docs: Update Authentik SAML documentation.

Mateusz Mandera3b4ec0bf58c5
diff --git a/docs/production/authentication-methods.md b/docs/production/authentication-methods.md
index 37e3523e5f0..75a0b0ad215 100644
--- a/docs/production/authentication-methods.md
+++ b/docs/production/authentication-methods.md
@@ -986,8 +986,7 @@ integration](../production/scim.md).
```
"attr_user_permanent_id": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
- "attr_first_name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name",
- "attr_last_name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name",
+ "attr_full_name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name",
"attr_username": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
"attr_email": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
```
diff --git a/zproject/prod_settings_template.py b/zproject/prod_settings_template.py
index 0d3c8754a2d..a9ea698f6df 100644
--- a/zproject/prod_settings_template.py
+++ b/zproject/prod_settings_template.py
@@ -497,6 +497,10 @@ SOCIAL_AUTH_SAML_ENABLED_IDPS: dict[str, Any] = {
"attr_user_permanent_id": "email",
"attr_first_name": "first_name",
"attr_last_name": "last_name",
+ ## If your IdP doesn't split the name into the first and last name, and instead sends
+ ## the full name in a single attribute, you can remove the above attr_*_name lines
+ ## and instead configure attr_full_name below.
+ # "attr_full_name": "fullname",
"attr_username": "email",
"attr_email": "email",
## List of additional attributes to fetch from the SAMLResponse.