Enable Authentik auth on Paperless-ngx

This commit is contained in:
Pim Kunis 2025-02-11 13:49:25 +01:00
parent 81b553c8b0
commit d963610517
2 changed files with 23 additions and 2 deletions

View file

@ -57,6 +57,25 @@
PAPERLESS_OCR_LANGUAGE.value = "nld";
USERMAP_UID.value = "33";
USERMAP_GID.value = "33";
PAPERLESS_APPS.value = "allauth.socialaccount.providers.openid_connect";
PAPERLESS_SOCIALACCOUNT_PROVIDERS.value = ''
{
"openid_connect": {
"APPS": [
{
"provider_id": "authentik",
"name": "Authentik",
"client_id": "z5PlhxTB1eXJ9L39Ix2BfhLV72TbF3vbGJZUtyBJ",
"secret": "ref+sops://secrets.yml#/authentik/oauth2/paperless-ngx/client_secret+",
"settings": {
"server_url": "https://authentik.kun.is/application/o/paperless-ngx/.well-known/openid-configuration"
}
}
],
"OAUTH_PKCE_ENABLED": "True"
}
}
'';
PAPERLESS_DBPASS.valueFrom.secretKeyRef = {
name = "database";