Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Chapter:Security
-
HD-Enabler:Wilma
Description
Dear Support,
I am having trouble with getting list of organizations that I authorize in
my application created with fiware account. I am getting 403 forbidden
response.
My request:
GET
/v3/OS-ROLES/organizations/role_assignments?application_id=xxxxxxxxxxxxxxxxxxx
HTTP/1.1
Host: cloud.lab.fiware.org:4730
Content-Type: application/json
X-Auth-Token: 0000000000000000
Authorization: Basic
ZWM2MWZlMGRkYmNlNGFjMzgwMTQ1N2UyYzEyNWNjYjI6MjgwN2Y0ZTA1NzFiNDYyMWFmMjhjYmRlMzg4YzdiNGY=
In case I want to get list of roles, I am getting 200 response.
GET /v3/OS-ROLES/roles?application_id=xxxxxxxxxxxxxxxxxxx HTTP/1.1
Host: cloud.lab.fiware.org:4730
Content-Type: application/json
X-Auth-Token: 0000000000000000
Authorization: Basic
ZWM2MWZlMGRkYmNlNGFjMzgwMTQ1N2UyYzEyNWNjYjI6MjgwN2Y0ZTA1NzFiNDYyMWFmMjhjYmRlMzg4YzdiNGY=
Authorization is with client id and client secret.
Can you please help me? Is there something that I am missing?
Thank you in advance
Milos Jankovic
__________________________________________________________________________________________
You can get more information about our cookies and privacy policies on the following links:
- http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Privacy_Policy
- http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Cookies_Policy_FIWARE
Fiware-lab-help mailing list
Fiware-lab-help@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-lab-help
[Created via e-mail received from: Milos Jankovic <jankovicmilos641@gmail.com>]
Dear Milos,
in the current version of Keyrock, the role assignments endpoint in OS-ROLES extension is restricted to admins because we have not implemented the option of checking policies based on query strings. We are going to add this feature in the roadmap of the component but we cannot give you a tentative date of accomplishment . Of course, you can always contribute a feature to the code
BR and sorry for the inconvenience.