From 56cdc14cc114289344e6b7e454530cd98400b994 Mon Sep 17 00:00:00 2001 From: Cody McGinnis Date: Tue, 29 Aug 2023 20:21:54 -0400 Subject: [PATCH] docs: explain social authentication auto sign up Attempt to explain to the user that social auth with automatically allow users to sign up for social accounts. `ALLOW_SIGNUP` now applies to local account sign up only. --- .env.template | 3 ++- docs/features/authentication.md | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.env.template b/.env.template index 5c4370fe..9c6682af 100644 --- a/.env.template +++ b/.env.template @@ -113,7 +113,8 @@ REMOTE_USER_AUTH=0 # SPACE_DEFAULT_MAX_FILES=0 # Maximum file storage for space in MB. 0 for unlimited, -1 to disable file upload. # SPACE_DEFAULT_ALLOW_SHARING=1 # Allow users to share recipes with public links -# allow people to create accounts on your application instance (without an invite link) +# allow people to create local accounts on your application instance (without an invite link) +# social accounts will always be able to sign up # when unset: 0 (false) # ENABLE_SIGNUP=0 diff --git a/docs/features/authentication.md b/docs/features/authentication.md index e0f8f2f0..e6d01872 100644 --- a/docs/features/authentication.md +++ b/docs/features/authentication.md @@ -17,6 +17,8 @@ They basically explain everything in their documentation, but the following is a Choose a provider from the [list](https://django-allauth.readthedocs.io/en/latest/providers.html) and install it using the environment variable `SOCIAL_PROVIDERS` as shown in the example below. +When at least one social provider is set up, the social login sign in buttons should appear on the login page. + ```ini SOCIAL_PROVIDERS=allauth.socialaccount.providers.github,allauth.socialaccount.providers.nextcloud ```