fix(netbird): update oidc client

trying to fix id_token_hint error with keycloak
This commit is contained in:
Vegard Hagen
2025-01-03 10:13:39 +01:00
parent e4fbd938c1
commit b07b728855
2 changed files with 20 additions and 10 deletions
@@ -21,3 +21,23 @@ spec:
- "+"
realmIdRef:
name: homelab
---
apiVersion: client.keycloak.crossplane.io/v1alpha1
kind: ProtocolMapper
metadata:
name: netbird-sub-mapper
spec:
forProvider:
name: Username as sub claim
protocol: openid-connect
protocolMapper: oidc-usermodel-property-mapper
config:
user.attribute: username
claim.name: sub
id.token.claim: "true"
access.token.claim: "true"
userinfo.token.claim: "true"
clientIdRef:
name: netbird
realmIdRef:
name: homelab
@@ -13,13 +13,3 @@ netbird:
ingress:
enabled: false
# annotations:
# cert-manager.io/cluster-issuer: cloudflare-cluster-issuer
# hosts:
# - host: netbird.stonegarden.dev
# paths:
# - path: /
# pathType: Prefix
# tls:
# - hosts:
# - netbird.stonegarden.dev