From 2b2ceab2d171eb53d12f27ec0cb8dc79b81bea5e Mon Sep 17 00:00:00 2001 From: rock Date: Tue, 15 Sep 2026 02:00:36 +0900 Subject: [PATCH] fix(paperless): enable OIDC auto-linking to existing users by email - Add SOCIALACCOUNT_AUTO_SIGNUP for automatic social account creation - Enable ACCOUNT_ALLOW_SIGNUPS for OIDC users - Add SOCIALACCOUNT_EMAIL_AUTHENTICATION_AUTO_CONNECT to link existing users - Fixes 'An account already exists with this email' error - Allows Authentik login to auto-link to existing Paperless users --- k8s/apps/paperless/configmap.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/k8s/apps/paperless/configmap.yaml b/k8s/apps/paperless/configmap.yaml index 6a0bfc8..94ffbbb 100644 --- a/k8s/apps/paperless/configmap.yaml +++ b/k8s/apps/paperless/configmap.yaml @@ -20,3 +20,10 @@ data: # wire up allauth's confirm-email view, so signup 500s with NoReverseMatch # on 'account_confirm_email' without this. PAPERLESS_ACCOUNT_EMAIL_VERIFICATION: "none" + # Auto-connect social accounts to existing users with matching email + PAPERLESS_SOCIALACCOUNT_AUTO_SIGNUP: "true" + # Allow automatic linking of social accounts to existing users + PAPERLESS_ACCOUNT_ALLOW_SIGNUPS: "true" + # Connect social accounts to existing users with matching email + PAPERLESS_SOCIALACCOUNT_EMAIL_AUTHENTICATION: "true" + PAPERLESS_SOCIALACCOUNT_EMAIL_AUTHENTICATION_AUTO_CONNECT: "true"