Adding SSO by default for VW

This commit is contained in:
oscarg committed 2026-10-08 22:22:41 +13:00
1 parent 6e5cc93565
commit e30fa430ba
2 files changed
+10

No files matched your search

+4
View File
@@ -14,3 +14,7 @@ OAUTH_SECRET=
# Testing Stuff # Testing Stuff
# Leave CADDY_TLS blank to automatically obtain a certificate. # Leave CADDY_TLS blank to automatically obtain a certificate.
CADDY_TLS= CADDY_TLS=
# Vaultwarden SSO Stuff
VW_CLIENT_SECRET=
+6
View File
@@ -58,6 +58,12 @@ services:
restart: unless-stopped restart: unless-stopped
environment: environment:
- DOMAIN=https://${PWD_SUBDOMAIN}.${DOMAIN_NAME} - DOMAIN=https://${PWD_SUBDOMAIN}.${DOMAIN_NAME}
- SSO_ENABLED=true
- SSO_ONLY=true
- SSO_AUTHORITY=https://${MAIL_SUBDOMAIN}.${DOMAIN_NAME}
- SSO_CLIENT_ID=vaultwarden
- SSO_CLIENT_SECRET=${VW_CLIENT_SECRET}
- SSO_SCOPES="profile email offline_access"
volumes: volumes:
- vw-data:/data/ - vw-data:/data/
networks: networks: