Feature request: OpenID Connect authentication
Opened this issue · 0 comments
renne commented
Paperless-ngx supports OpenID-Connect authentication.
In conjunction with the Nextcloud plugin OIDC Identity Provider the setup is quite simple:
- Install and enable Nextcloud plugin OIDC Identity Provider
- Add new OpenID Connect-Client in
https://nextcloud.example.com/settings/admin/security
- Name =
Paperless-ngx
- Redirect-URI =
https://paperless.example.com
- Copy ClientID and secret
- Name =
- In the Paperless-ngx
docker-compose.yml
add environmnet variables for servicewebservice:
PAPERLESS_APPS: "allauth.socialaccount.providers.openid_connect"
PAPERLESS_SOCIALACCOUNT_PROVIDERS: '{"openid_connect": {"APPS": [{"provider_id": "nextcloud","name": "Nextcloud","client_id": "<Nextcloud client ID>","secret": "<Nextcloud client secret>","settings": { "server_url": "https://nextcloud.example.com"}}]}}'
PAPERLESS_DISABLE_REGULAR_LOGIN: true