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
This commit is contained in:
@@ -20,3 +20,10 @@ data:
|
|||||||
# wire up allauth's confirm-email view, so signup 500s with NoReverseMatch
|
# wire up allauth's confirm-email view, so signup 500s with NoReverseMatch
|
||||||
# on 'account_confirm_email' without this.
|
# on 'account_confirm_email' without this.
|
||||||
PAPERLESS_ACCOUNT_EMAIL_VERIFICATION: "none"
|
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user