mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
fix(netbird): update oidc client
trying to fix id_token_hint error with keycloak
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user