docs: Move docs on SOCIAL_AUTH_OIDC_FULL_NAME_VALIDATED to ReadTheDocs.

This commit is contained in:
Mateusz Mandera 2021-07-21 13:54:20 +02:00 committed by Tim Abbott
parent 9bf84a35ef
commit 388932bcc4
2 changed files with 10 additions and 6 deletions

View File

@ -709,6 +709,14 @@ using another authentication method. You can configure automatic
account creation on first login attempt by setting `"auto_signup": account creation on first login attempt by setting `"auto_signup":
True` in the IdP configuration dictionary. 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 more authentication backends
Adding an integration with any of the more than 100 authentication Adding an integration with any of the more than 100 authentication

View File

@ -374,12 +374,8 @@ SOCIAL_AUTH_OIDC_ENABLED_IDPS = {
} }
} }
## Controls how Zulip uses the Full Name provided by the IdP at the ## For documentation on this setting, see the relevant part of
## userinfo endpoint. By default, Zulip prefills that value but lets ## https://zulip.readthedocs.io/en/latest/production/authentication-methods.html#openid-connect
## 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).
# SOCIAL_AUTH_OIDC_FULL_NAME_VALIDATED = True # SOCIAL_AUTH_OIDC_FULL_NAME_VALIDATED = True
######## ########