From 92c64fd62dc4ee2639b176dfbc32cebad9f01a54 Mon Sep 17 00:00:00 2001 From: CSDUMMI <31551856+CSDUMMI@users.noreply.github.com> Date: Tue, 5 Dec 2023 16:05:29 +0100 Subject: [PATCH] Add documentation for the ONE_CLICK_SSO_LOGIN environment variable (#1300) --- content/en/admin/config.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/en/admin/config.md b/content/en/admin/config.md index f8e8aada..2b1d3959 100644 --- a/content/en/admin/config.md +++ b/content/en/admin/config.md @@ -578,6 +578,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`