added oauth for paperless
This commit is contained in:
@@ -105,6 +105,26 @@ spec:
|
||||
value: paperless
|
||||
- name: PGDATA
|
||||
value: /var/lib/postgresql/data/pgdata
|
||||
- name: PAPERLESS_ENABLE_ALLAUTH
|
||||
value: "true"
|
||||
- name: PAPERLESS_APPS
|
||||
value: "allauth.socialaccount.providers.openid_connect"
|
||||
- name: PAPERLESS_SOCIALACCOUNT_PROVIDERS
|
||||
value: '{"openid_connect":{"APPS":[{"provider_id":"authentik","name":"authentik","client_id":"YOUR_CLIENT_ID","secret":"YOUR_CLIENT_SECRET","settings":{"server_url":"https://authentik.dooplex.hu/application/o/paperless/.well-known/openid-configuration","claims":{"username":"email"}}}],"OAUTH_PKCE_ENABLED":"True"}}'
|
||||
- name: PAPERLESS_OIDC_CLIENT_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: paperless-oauth
|
||||
key: client-id
|
||||
- name: PAPERLESS_OIDC_CLIENT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: paperless-oauth
|
||||
key: client-secret
|
||||
- name: PAPERLESS_AUTO_LOGIN
|
||||
value: "true"
|
||||
- name: PAPERLESS_LOGOUT_REDIRECT_URL
|
||||
value: "https://authentik.dooplex.hu/application/o/paperless/end-session/"
|
||||
ports:
|
||||
- name: postgres
|
||||
containerPort: 5432
|
||||
|
||||
Reference in New Issue
Block a user