grafana access
This commit is contained in:
@@ -115,7 +115,23 @@ keycloakConfigCli:
|
||||
"k8s.secret.name": "grafana-oidc-credentials",
|
||||
"k8s.secret.client-id-key": "client-id",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user