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>]
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-LAB-HELP [ 10279 ] |
Component/s | FIWARE-TECH-HELP [ 10278 ] | |
Component/s | FIWARE-LAB-HELP [ 10279 ] |
Assignee | Alvaro Alonso [ aalonsog ] |
HD-Chapter | Security [ 10841 ] | |
HD-Enabler | Wilma [ 10890 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Resolution | Done [ 10000 ] | |
Status | Closed [ 6 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Fix Version/s | 2021 [ 12600 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
6d 3h 14m | 1 | Alvaro Alonso | 03/May/17 4:25 PM | |||||
|
5h 20m | 1 | Alvaro Alonso | 08/May/17 5:37 PM | |||||
|
9d 19h 14m | 2 | Alvaro Alonso | 18/May/17 12:51 PM | |||||
|
4d 19h 50m | 2 | Alvaro Alonso | 18/May/17 12:51 PM |
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/