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:KeyRock
Description
Hello
I am trying to convert an Idm token to a Keystone token. To do so I need the OpenStack tenant Id.
Due to the upgrade my previous api call (GET on https://cloud.lab.fiware.org/keystone/v2.0/tenants with the Idm token) seems obsolete.
So I tried use the call described in the KeyRock documentation: https://account.lab.fiware.org/user?access_token=xxxxxxxxxx .
But my problem is that my request does return a partial result:
> curl -k -X GET https://account.lab.fiware.org/user?access_token=CtoNc8gdMmeWsrPAE6bYy4NfYbPBOj
> {"organizations": [], "displayName": "Mario L___-___s", "roles": [
], "app_id": "1d75df2ec0c1478db98a3c8db3169d63", "email":
> "mario.l_______s@t_______p.com", "id": "mario-l__-___s"}
The 'organizations' field is empty when I use this call with a token bound to my Idm application. (As a side not, if I "steal" and use the idm token of the cloud portal I obtain with this call a populated list with the data I require .)
So is there an another way to retrieve an user tenant id by using the Idm token ?. Or should I somehow change my application in the Idm ?.
Thanks
Geoffroy
[@@ THALES GROUP INTERNAL @@]
_______________________________________________
Fiware-lab-help mailing list
Fiware-lab-help@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-lab-help
[Created via e-mail received from: CHOLLON Geoffroy <geoffroy.chollon@thalesgroup.com>]
Issue Links
- relates to
-
HELP-3055 FIWARE.Request.Tech.Security.IDM-KeyRock.retrievetheTenantinformation
- Closed
Activity
Fix Version/s | 2021 [ 12600 ] |
HD-Enabler | KeyRock [ 10889 ] | |
HD-Chapter | Security [ 10841 ] |
Sender Email | geoffroy.chollon@thalesgroup.com |
Summary | FIWARE.Request.Lab.Security.IDM-KeyRock.UnableretrievetheTenantinformation | FIWARE.Request.Tech.Security.IDM-KeyRock.UnableretrievetheTenantinformation |
Component/s | FIWARE-TECH-HELP [ 10278 ] | |
Component/s | FIWARE-LAB-HELP [ 10279 ] |
Summary | FIWARE.Request.Lab.Unable to retrieve the Tenant information | FIWARE.Request.Lab.Security.IDM-KeyRock.UnableretrievetheTenantinformation |
Summary | [Fiware-lab-help] [Idm / Keystone] Unable to retrieve the Tenant information | FIWARE.Request.Lab.Unable to retrieve the Tenant information |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Component/s | FIWARE-LAB-HELP [ 10279 ] |
Field | Original Value | New Value |
---|---|---|
Assignee | Alvaro Alonso [ aalonsog ] |