Add documentation for the ONE_CLICK_SSO_LOGIN environment variable

This commit is contained in:
CSDUMMI 2023-09-12 11:41:49 +02:00
parent 1d15e379a4
commit 36d8bf3955
1 changed files with 9 additions and 0 deletions

View File

@ -546,6 +546,15 @@ You must serve the files with CORS headers, otherwise some functions of Mastodon
#### `OMNIAUTH_ONLY`
#### `ONE_CLICK_SSO_LOGIN`
Enables the `Login or Register` button.
Useful for instances where all authentication takes place using a single
external provider (CAS, SAML or OIDC).
Enabling this will prevent caching for anonymous sessions.
And, when using OIDC discovery, the identity provider has to be available
before Mastodon starts.
### LDAP {#ldap}
#### `LDAP_ENABLED`