[task-230] [fix] tandoor: authelia
This commit is contained in:
parent
52c675f6e3
commit
5a7f10561c
2 changed files with 2 additions and 18 deletions
|
@ -8,6 +8,7 @@ Für Rezepte-Sammlung [Tandoor](https://tandoor.dev/)
|
||||||
- [Tandoor-Dokumentation | Installation](https://docs.tandoor.dev/install/manual/)
|
- [Tandoor-Dokumentation | Installation](https://docs.tandoor.dev/install/manual/)
|
||||||
- [Tandoor-Dokumentation | Konfiguration](https://docs.tandoor.dev/system/configuration/)
|
- [Tandoor-Dokumentation | Konfiguration](https://docs.tandoor.dev/system/configuration/)
|
||||||
- [Tandoor-Dokumentation | Allauth](https://docs.tandoor.dev/features/authentication/#allauth)
|
- [Tandoor-Dokumentation | Allauth](https://docs.tandoor.dev/features/authentication/#allauth)
|
||||||
|
- https://docs.djangoproject.com/en/5.1/ref/django-admin/#envvar-DJANGO_SUPERUSER_PASSWORD
|
||||||
|
|
||||||
|
|
||||||
## ToDo
|
## ToDo
|
||||||
|
|
|
@ -19,24 +19,7 @@ REMOTE_USER_AUTH=0
|
||||||
{% if var_tandoor_authentication_kind == 'authelia' %}
|
{% if var_tandoor_authentication_kind == 'authelia' %}
|
||||||
ENABLE_SIGNUP=0
|
ENABLE_SIGNUP=0
|
||||||
REMOTE_USER_AUTH=1
|
REMOTE_USER_AUTH=1
|
||||||
SOCIALACCOUNT_PROVIDERS = {
|
SOCIALACCOUNT_PROVIDERS={"openid_connect": {"OAUTH_PKCE_ENABLED": false, "APPS": [{"provider_id": "authelia", "name": "{{var_tandoor_authentication_data_authelia_label}}", "client_id": "{{var_tandoor_authentication_data_authelia_client_id}}", "secret": "{{var_tandoor_authentication_data_authelia_client_secret}}", "settings": {"server_url":"{{var_tandoor_authentication_data_authelia_url_base}}", "token_auth_method": "client_secret_basic", "oauth_pkce_enabled": false}}]}}
|
||||||
"openid_connect": {
|
|
||||||
"OAUTH_PKCE_ENABLED": False,
|
|
||||||
"APPS": [
|
|
||||||
{
|
|
||||||
"provider_id": "authelia",
|
|
||||||
"name": "{{var_tandoor_authentication_data_authelia_label}}",
|
|
||||||
"client_id": "{{var_tandoor_authentication_data_authelia_client_id}}",
|
|
||||||
"secret": "{{var_tandoor_authentication_data_authelia_client_secret}}",
|
|
||||||
"settings": {
|
|
||||||
"server_url": "{{var_tandoor_authentication_data_authelia_url_base}}",
|
|
||||||
"token_auth_method": "client_secret_basic",
|
|
||||||
"oauth_pkce_enabled": False,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
SECRET_KEY={{var_tandoor_secret_key}}
|
SECRET_KEY={{var_tandoor_secret_key}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue