From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 11 Jul 2024 04:02:57 +0000 (-0700) Subject: Merge branch 'dev' X-Git-Tag: v2.11.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a9ab85bafda7255773e63e2904c6d925588f122;p=thirdparty%2Fpaperless-ngx.git Merge branch 'dev' --- 9a9ab85bafda7255773e63e2904c6d925588f122 diff --cc docs/configuration.md index 541310b464,63c2c76107..6f47c25bee --- a/docs/configuration.md +++ b/docs/configuration.md @@@ -594,8 -594,16 +594,16 @@@ system. See the correspondin #### [`PAPERLESS_DISABLE_REGULAR_LOGIN=`](#PAPERLESS_DISABLE_REGULAR_LOGIN) {#PAPERLESS_DISABLE_REGULAR_LOGIN} -: Disables the regular frontend username / password login, i.e. once you have setup SSO. Note that this setting does not disable the Django admin login. To prevent logins directly to Django, consider blocking `/admin/` in your [web server or reverse proxy configuration](https://github.com/paperless-ngx/paperless-ngx/wiki/Using-a-Reverse-Proxy-with-Paperless-ngx). +: Disables the regular frontend username / password login, i.e. once you have setup SSO. Note that this setting does not disable the Django admin login nor logging in with local credentials via the API. To prevent access to the Django admin, consider blocking `/admin/` in your [web server or reverse proxy configuration](https://github.com/paperless-ngx/paperless-ngx/wiki/Using-a-Reverse-Proxy-with-Paperless-ngx). + You can optionally also automatically redirect users to the SSO login with [PAPERLESS_REDIRECT_LOGIN_TO_SSO](#PAPERLESS_REDIRECT_LOGIN_TO_SSO) + + Defaults to False + + #### ['PAPERLESS_REDIRECT_LOGIN_TO_SSO=`](#PAPERLESS_REDIRECT_LOGIN_TO_SSO) {#PAPERLESS_REDIRECT_LOGIN_TO_SSO} + + : When this setting is enabled users will automatically be redirected (using javascript) to the first SSO provider login. You may still want to disable the frontend login form for clarity. + Defaults to False #### [`PAPERLESS_ACCOUNT_SESSION_REMEMBER=`](#PAPERLESS_ACCOUNT_SESSION_REMEMBER) {#PAPERLESS_ACCOUNT_SESSION_REMEMBER}