Adding SSO by default for VW
This commit is contained in:
1 parent
6e5cc93565
commit
e30fa430ba
2 files changed
+10
No files matched your search
@@ -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=
|
||||||
@@ -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:
|
||||||
|
|||||||
Reference in new issue
Block a user