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>]
Hi, the requests you are trying to perform correspond to Keystone API. Thus, you have yo use Keystone authentication (i.e. including a Keystone token in X-Auth-Token header). Here you will find details regarding how to create a Keystone token: https://developer.openstack.org/api-ref/identity/v3/