|
|
|
@ -35,6 +35,22 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name" : "pyrest",
|
|
|
|
|
"taskReferenceName" : "authorize_with_uma_rpt",
|
|
|
|
|
"type" : "SIMPLE",
|
|
|
|
|
"inputParameters" : {
|
|
|
|
|
"url" : "{{ keycloak }}/{{ keycloak_realm }}/protocol/openid-connect/token",
|
|
|
|
|
"method" : "POST",
|
|
|
|
|
"headers" : {
|
|
|
|
|
"Accept" : "application/json"
|
|
|
|
|
},
|
|
|
|
|
"body" : {
|
|
|
|
|
"audience" : "{{ root_vo }}",
|
|
|
|
|
"grant_type" : "urn:ietf:params:oauth:grant-type:uma-ticket"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name" : "pyrest",
|
|
|
|
|
"taskReferenceName" : "retrieve_system_services",
|
|
|
|
@ -44,7 +60,7 @@
|
|
|
|
|
"method" : "GET",
|
|
|
|
|
"headers" : {
|
|
|
|
|
"Accept" : "application/xml",
|
|
|
|
|
"Authorization" : "Bearer ${authorize_on_realm.output.body.access_token}"
|
|
|
|
|
"Authorization" : "Bearer ${authorize_with_uma_rpt.output.body.access_token}"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|