sso vw
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: keycloak-client-vaultwarden
|
||||
namespace: vaultwarden
|
||||
labels:
|
||||
keycloak.forteapps.net/client-config: "true"
|
||||
stringData:
|
||||
client.json: |
|
||||
{
|
||||
"clientId": "vaultwarden",
|
||||
"name": "Vaultwarden",
|
||||
"redirectUris": ["https://vaultwarden.forteapps.net/*"],
|
||||
"webOrigins": ["https://vaultwarden.forteapps.net"],
|
||||
"defaultClientScopes": ["openid", "email", "profile"],
|
||||
"protocolMappers": [],
|
||||
"secret": {
|
||||
"namespace": "vaultwarden",
|
||||
"name": "vaultwarden-oidc-credentials",
|
||||
"keys": { "clientId": "client-id", "clientSecret": "client-secret" }
|
||||
}
|
||||
}
|
||||
@@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- vaultwarden.yaml
|
||||
- keycloak-client-config.yaml
|
||||
|
||||
@@ -68,3 +68,15 @@ storage:
|
||||
path: /files
|
||||
keepPvc: true
|
||||
accessMode: "ReadWriteOnce"
|
||||
|
||||
sso:
|
||||
enabled: true
|
||||
existingSecret: vaultwarden-oidc-credentials
|
||||
authority: "https://id.forteapps.net/realms/forte"
|
||||
scopes: "email profile"
|
||||
pkce: true
|
||||
signupsMatchEmail: true
|
||||
clientId:
|
||||
existingSecretKey: client-id
|
||||
clientSecret:
|
||||
existingSecretKey: client-secret
|
||||
|
||||
Reference in New Issue
Block a user