enhancment of workflow to setup authz initialization

This commit is contained in:
dcore94 2021-03-03 18:02:30 +01:00
parent fc167a6af8
commit 91b1515d9c
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@
"taskReferenceName" : "delete_default_permission",
"type" : "SIMPLE",
"inputParameters" : {
"url" : "${init.input.keycloak_admin}/clients/${extract_client_id.output.result.client_id}/authz/resource-server/policy/{$.body[?(@.name == 'Default Permission')]..id}",
"url" : "${init.input.keycloak_admin}/clients/${extract_client_id.output.result.client_id}/authz/resource-server/policy/${get_default_policies.output.body[?(@.name == 'Default Permission')]..id}",
"method" : "DELETE",
"headers" : {
"Authorization" : "Bearer ${authorize.output.body.access_token}",
@ -114,7 +114,7 @@
"taskReferenceName" : "delete_default_policy",
"type" : "SIMPLE",
"inputParameters" : {
"url" : "${init.input.keycloak_admin}/clients/${extract_client_id.output.result.client_id}/authz/resource-server/policy/{$.body[?(@.name == 'Default Policy')]..id}",
"url" : "${init.input.keycloak_admin}/clients/${extract_client_id.output.result.client_id}/authz/resource-server/policy/${get_default_policies.output.body[?(@.name == 'Default Policy')]..id}",
"method" : "DELETE",
"headers" : {
"Authorization" : "Bearer ${authorize.output.body.access_token}",