Hello all,
I have a resource that I created via the UMA compliant endpoint ...authz/protection/resource_set and set the owner to a specific user. Then I created a policy with the endpoint ...authz/protection/uma-policy/{resourceId} and the following payload:
{
"name": "test",
"description": "Test",
"type": "uma",
"scopes": ["view", "edit"],
"logic": "POSITIVE",
"decisionStrategy": "UNANIMOUS",
"users": ["userXY"]
}
Now when i query an RPT as the userXY with parameters grant_type: urn:ietf:params:oauth:grant-type:uma-ticket and audience, I would expect to see the following entry:
{
"scopes": [
"view",
"edit"
],
"rsid": "51b04cec-23ab-4e00-bc92-9fc49a4c9408",
"rsname": "resourceName"
}
However, the RPT doesn't include this. When I query the permission by specifying the permission parameter to resorceName#edit I get an RPT token back with the requested permission. So the userXY has the permission to view and edit the resource, but why is this not included in the RPT?
I hope you can help me with that. Thank you in advance!