update README to clarify ACCOUNT_DEFAULT_HTTP_PROTOCOL description

This commit is contained in:
FuzzyGrim
2025-03-11 16:38:37 +01:00
parent 9274c1d359
commit db699e1356

View File

@@ -109,7 +109,7 @@ Note that the setting must include the correct protocol (`https` or `http`), and
| WEB_CONCURRENCY | Number of webserver processes, default to `1` but it's recommended to have a value of [(2 x num cores) + 1](https://docs.gunicorn.org/en/latest/design.html#how-many-workers) |
| SOCIAL_PROVIDERS | Comma-separated list of social authentication providers to enable, e.g. `allauth.socialaccount.providers.openid_connect,allauth.socialaccount.providers.github` |
| SOCIALACCOUNT_PROVIDERS | JSON configuration for social providers, see the [Wiki](https://github.com/FuzzyGrim/Yamtrack/wiki/Social-Authentication-in-Yamtrack) for a OIDC configuration example. |
| ACCOUNT_DEFAULT_HTTP_PROTOCOL | Protocol for social providers, if your `redirect_uri` in OIDC config is `https` set this to `https`, default is determined based on your `CSRF_TRUSTED_ORIGINS` settings |
| ACCOUNT_DEFAULT_HTTP_PROTOCOL | Protocol for social providers, if your `redirect_uri` in OIDC config is `https` set this to `https`, default is determined based on your `CSRF` settings |
| SOCIALACCOUNT_ONLY | Default to `False`, set to `True` to disable local authentication when using social authentication only |
| REDIRECT_LOGIN_TO_SSO | Default to `False`, set to `True` to automatically redirect (using javascript) to the SSO provider when there's only one available. Useful for single sign-on setups. |