remove protocol mappers
This commit is contained in:
@@ -90,22 +90,7 @@ keycloakConfigCli:
|
|||||||
"k8s.secret.name": "gitea-oidc-credentials",
|
"k8s.secret.name": "gitea-oidc-credentials",
|
||||||
"k8s.secret.client-id-key": "key",
|
"k8s.secret.client-id-key": "key",
|
||||||
"k8s.secret.client-secret-key": "secret"
|
"k8s.secret.client-secret-key": "secret"
|
||||||
},
|
|
||||||
"protocolMappers": [
|
|
||||||
{
|
|
||||||
"name": "email_verified",
|
|
||||||
"protocol": "openid-connect",
|
|
||||||
"protocolMapper": "oidc-hardcoded-claim-mapper",
|
|
||||||
"config": {
|
|
||||||
"claim.name": "email_verified",
|
|
||||||
"claim.value": "true",
|
|
||||||
"jsonType.label": "boolean",
|
|
||||||
"id.token.claim": "true",
|
|
||||||
"access.token.claim": "true",
|
|
||||||
"userinfo.token.claim": "true"
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"clientId": "grafana",
|
"clientId": "grafana",
|
||||||
@@ -124,23 +109,7 @@ keycloakConfigCli:
|
|||||||
"k8s.secret.name": "grafana-oidc-credentials",
|
"k8s.secret.name": "grafana-oidc-credentials",
|
||||||
"k8s.secret.client-id-key": "client-id",
|
"k8s.secret.client-id-key": "client-id",
|
||||||
"k8s.secret.client-secret-key": "client-secret"
|
"k8s.secret.client-secret-key": "client-secret"
|
||||||
},
|
|
||||||
"protocolMappers": [
|
|
||||||
{
|
|
||||||
"name": "client-roles",
|
|
||||||
"protocol": "openid-connect",
|
|
||||||
"protocolMapper": "oidc-usermodel-client-role-mapper",
|
|
||||||
"config": {
|
|
||||||
"claim.name": "resource_access.grafana.roles",
|
|
||||||
"jsonType.label": "String",
|
|
||||||
"multivalued": "true",
|
|
||||||
"usermodel.clientRoleMapping.clientId": "grafana",
|
|
||||||
"id.token.claim": "true",
|
|
||||||
"access.token.claim": "true",
|
|
||||||
"userinfo.token.claim": "true"
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"clientId": "argocd",
|
"clientId": "argocd",
|
||||||
@@ -159,22 +128,8 @@ keycloakConfigCli:
|
|||||||
"k8s.secret.name": "argocd-oidc-credentials",
|
"k8s.secret.name": "argocd-oidc-credentials",
|
||||||
"k8s.secret.client-id-key": "client-id",
|
"k8s.secret.client-id-key": "client-id",
|
||||||
"k8s.secret.client-secret-key": "client-secret"
|
"k8s.secret.client-secret-key": "client-secret"
|
||||||
},
|
|
||||||
"protocolMappers": [
|
|
||||||
{
|
|
||||||
"name": "groups",
|
|
||||||
"protocol": "openid-connect",
|
|
||||||
"protocolMapper": "oidc-group-membership-mapper",
|
|
||||||
"config": {
|
|
||||||
"claim.name": "groups",
|
|
||||||
"full.path": "false",
|
|
||||||
"id.token.claim": "true",
|
|
||||||
"access.token.claim": "true",
|
|
||||||
"userinfo.token.claim": "true"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"groups": [
|
"groups": [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user