introduce uma based authorization step
This commit is contained in:
parent
d8a47e00a2
commit
597ba693d9
|
@ -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",
|
"name" : "pyrest",
|
||||||
"taskReferenceName" : "retrieve_system_services",
|
"taskReferenceName" : "retrieve_system_services",
|
||||||
|
@ -44,7 +60,7 @@
|
||||||
"method" : "GET",
|
"method" : "GET",
|
||||||
"headers" : {
|
"headers" : {
|
||||||
"Accept" : "application/xml",
|
"Accept" : "application/xml",
|
||||||
"Authorization" : "Bearer ${authorize_on_realm.output.body.access_token}"
|
"Authorization" : "Bearer ${authorize_with_uma_rpt.output.body.access_token}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue