diff --git a/paperless-ngx/docker-compose.yaml b/paperless-ngx/docker-compose.yaml index 59bda12..26ed409 100644 --- a/paperless-ngx/docker-compose.yaml +++ b/paperless-ngx/docker-compose.yaml @@ -33,6 +33,29 @@ services: PAPERLESS_TIKA_ENABLED: 1 PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000 PAPERLESS_TIKA_ENDPOINT: http://tika:9998 + PAPERLESS_APPS: allauth.socialaccount.providers.openid_connect + PAPERLESS_SOCIALACCOUNT_PROVIDERS: > + { + "openid_connect": { + "OAUTH_PKCE_ENABLED": true, + "APPS": [ + { + "provider_id": "authentik", + "name": "authentik", + "client_id": "", + "secret": "", + "settings": { + "server_url": "https://authentik.company/application/o//.well-known/openid-configuration", + "fetch_userinfo": true + } + } + ], + "SCOPE": ["openid", "profile", "email"] + } + } + PAPERLESS_LOGOUT_REDIRECT_URL: "https://authentik.company/application/o//end-session/" + PAPERLESS_SOCIAL_AUTO_SIGNUP: true + PAPERLESS_SOCIALACCOUNT_ALLOW_SIGNUPS: true gotenberg: image: docker.io/gotenberg/gotenberg:8.25 restart: unless-stopped