Fiware Keyrock - organizations are not returned

113 views Asked by At

I am needing the organizations info, from a specific user. This information is not returned as can be seen below:

organizations: [], displayName: 'idm', roles: [ { name: 'Provider', id: 'provider' } ],

I am getting an empty list of organizations. Even the owner of the organization receives an empty list.

Is this a bug? What can we do to get this information?

In my local instance I just get to do up to step 7 of this tutorial:

http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Lab:_Upgrade_to_Community_Account#How_can_authorize_other_users_to_use_my_cloud_resources.3F

I continue with this problem, waiting for some help...

1

There are 1 answers

4
Álvaro Alonso On

That response includes those organizations in which the user has roles assigned. So, it is not enough with belonging to an organization. If you have not roles assigned in that organization, it won't be included in the list.

To add roles to a user in an organization you have to follow the steps in http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Lab:_Upgrade_to_Community_Account#How_can_authorize_other_users_to_use_my_cloud_resources.3F