109 lines
3.1 KiB
JSON
109 lines
3.1 KiB
JSON
[
|
|
{
|
|
"name": "createClientMainscntGrafana",
|
|
"method": "POST",
|
|
"url": "https://auth2.hottis.de/admin/realms/hottis/clients",
|
|
"data": {
|
|
"protocol": "openid-connect",
|
|
"enabled": "true",
|
|
"clientId": "mainscnt-grafana",
|
|
"name": "Grafana2",
|
|
"baseUrl": "https://grafana.mainscnt.eu",
|
|
"redirectUris": [
|
|
"https://grafana.mainscnt.eu/login/generic_oauth"
|
|
],
|
|
"standardFlowEnabled": "true",
|
|
"implicitFlowEnabled": "false",
|
|
"publicClient": "false"
|
|
}
|
|
},
|
|
{
|
|
"name": "createClientRoleMaincntGrafanaAdmin",
|
|
"method": "POST",
|
|
"url": "https://auth2.hottis.de/admin/realms/hottis/clients/$result/roles",
|
|
"use": {
|
|
"url": "https://auth2.hottis.de/admin/realms/hottis/clients",
|
|
"data": { "clientId": "mainscnt-grafana" },
|
|
"resultIndexes": [ 0, "id" ]
|
|
},
|
|
"data": {
|
|
"name": "Admin"
|
|
}
|
|
},
|
|
{
|
|
"name": "createClientRoleMainscntGrafanaGrafanaAdmin",
|
|
"method": "POST",
|
|
"url": "https://auth2.hottis.de/admin/realms/hottis/clients/$result/roles",
|
|
"use": {
|
|
"url": "https://auth2.hottis.de/admin/realms/hottis/clients",
|
|
"data": { "clientId": "mainscnt-grafana" },
|
|
"resultIndexes": [ 0, "id" ]
|
|
},
|
|
"data": {
|
|
"name": "GrafanaAdmin"
|
|
}
|
|
},
|
|
{
|
|
"name": "createClientRoleMainscntGrafanaViewer",
|
|
"method": "POST",
|
|
"url": "https://auth2.hottis.de/admin/realms/hottis/clients/$result/roles",
|
|
"use": {
|
|
"url": "https://auth2.hottis.de/admin/realms/hottis/clients",
|
|
"data": { "clientId": "mainscnt-grafana" },
|
|
"resultIndexes": [ 0, "id" ]
|
|
},
|
|
"data": {
|
|
"name": "Viewer"
|
|
}
|
|
},
|
|
{
|
|
"name": "createClientRoleMainscntGrafanaEditor",
|
|
"method": "POST",
|
|
"url": "https://auth2.hottis.de/admin/realms/hottis/clients/$result/roles",
|
|
"use": {
|
|
"url": "https://auth2.hottis.de/admin/realms/hottis/clients",
|
|
"data": { "clientId": "mainscnt-grafana" },
|
|
"resultIndexes": [ 0, "id" ]
|
|
},
|
|
"data": {
|
|
"name": "Editor"
|
|
}
|
|
},
|
|
{
|
|
"name": "createRoleMapperMainscntGrafana",
|
|
"method": "POST",
|
|
"url": "https://auth2.hottis.de/admin/realms/hottis/clients/$result/protocol-mappers/add-models",
|
|
"use": {
|
|
"url": "https://auth2.hottis.de/admin/realms/hottis/clients",
|
|
"data": { "clientId": "mainscnt-grafana" },
|
|
"resultIndexes": [ 0, "id" ]
|
|
},
|
|
"data": [
|
|
{
|
|
"name": "client roles",
|
|
"protocol": "openid-connect",
|
|
"protocolMapper": "oidc-usermodel-client-role-mapper",
|
|
"consentRequired": false,
|
|
"config": {
|
|
"multivalued": "true",
|
|
"user.attribute": "foo",
|
|
"access.token.claim": "true",
|
|
"claim.name": "roles",
|
|
"jsonType.label": "String",
|
|
"id.token.claim": "true",
|
|
"access.token.claim": "true",
|
|
"clientId": "mainscnt-grafana"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "getClientMainscntGrafana",
|
|
"method": "GET",
|
|
"url": "https://auth2.hottis.de/admin/realms/hottis/clients",
|
|
"data": { "clientId": "mainscnt-grafana" }
|
|
}
|
|
]
|
|
|
|
|