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: Move docs on SOCIAL_AUTH_OIDC_FULL_NAME_VALIDATED to ReadTheDocs.

Mateusz Mandera388932bcc445
diff --git a/docs/production/authentication-methods.md b/docs/production/authentication-methods.md
index 0786433ea78..6209cd8a67b 100644
--- a/docs/production/authentication-methods.md
+++ b/docs/production/authentication-methods.md
@@ -709,6 +709,14 @@ using another authentication method. You can configure automatic
account creation on first login attempt by setting `"auto_signup":
True` in the IdP configuration dictionary.
+The global setting `SOCIAL_AUTH_OIDC_FULL_NAME_VALIDATED` controls how
+Zulip uses the Full Name provided by the IdP. By default, Zulip
+prefills that value in the new account creation form, but gives the
+user the opportunity to edit it before submitting. When `True`, Zulip
+assumes the name is correct, and new users will not be presented with
+a registration form unless they need to accept Terms of Service for
+the server (i.e. `TERMS_OF_SERVICE=True`).
+
## Adding more authentication backends
Adding an integration with any of the more than 100 authentication
diff --git a/zproject/prod_settings_template.py b/zproject/prod_settings_template.py
index a7c1210ee68..e4695ad4b4c 100644
--- a/zproject/prod_settings_template.py
+++ b/zproject/prod_settings_template.py
@@ -374,12 +374,8 @@ SOCIAL_AUTH_OIDC_ENABLED_IDPS = {
}
}
-## Controls how Zulip uses the Full Name provided by the IdP at the
-## userinfo endpoint. By default, Zulip prefills that value but lets
-## the user modify it in the registration form. When enabled, Zulip
-## assumes the name is correct, and new users will not be presented
-## with a registration form unless they need to accept Terms of
-## Service (i.e. TERMS_OF_SERVICE=True).
+## For documentation on this setting, see the relevant part of
+## https://zulip.readthedocs.io/en/latest/production/authentication-methods.html#openid-connect
# SOCIAL_AUTH_OIDC_FULL_NAME_VALIDATED = True
########