We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question
0

KEYROCK AND APPLICATION REGISTRATION

asked 2016-01-26 07:23:51 +0200

JustHSB gravatar image

updated 2016-01-28 08:02:00 +0200

Hello guys,

when I register an application it is not possible to remove it, to change roles and permissions and i can't see oAUth2 credentials, why??

I followed official guide to install idm and register an application, please help...

Here is the log I get when registering the application:

[28/Jan/2016 13:51:39] "GET /idm/myApplications/create/ HTTP/1.1" 200 13742 CacheKeyWarning: Cache key contains characters that will cause errors if used with memcached: u":1:<role application_id="d59c43b160674fe6b28378f26c8d0746," id="807bcb009bb047a7b0611531b3167cd1," is_internal="True," links="{u'self':" u'http:="" 127.0.0.1:35357="" v3="" os-roles="" roles="" 807bcb009bb047a7b0611531b3167cd1'},="" name="purchaser">" WARNING:py.warnings:CacheKeyWarning: Cache key contains characters that will cause errors if used with memcached: u":1:<role application_id="d59c43b160674fe6b28378f26c8d0746," id="807bcb009bb047a7b0611531b3167cd1," is_internal="True," links="{u'self':" u'http:="" 127.0.0.1:35357="" v3="" os-roles="" roles="" 807bcb009bb047a7b0611531b3167cd1'},="" name="purchaser">" DEBUG:idmlogger:Application Test App created [28/Jan/2016 13:52:06] "POST /idm/myApplications/create/ HTTP/1.1" 302 0 [28/Jan/2016 13:52:06] "GET /idm/myApplications/5a852ce979af422dad557688c89e5043/step/avatar/ HTTP/1.1" 200 13302 DEBUG:idmlogger:Avatar for application 5a852ce979af422dad557688c89e5043 saved [28/Jan/2016 13:52:22] "POST /idm/myApplications/5a852ce979af422dad557688c89e5043/step/avatar/ HTTP/1.1" 302 0 [28/Jan/2016 13:52:22] "GET /idm/myApplications/5a852ce979af422dad557688c89e5043/step/roles/ HTTP/1.1" 302 0 [28/Jan/2016 13:52:22] "GET /home/ HTTP/1.1" 302 0 [28/Jan/2016 13:52:22] "GET /idm/ HTTP/1.1" 200 13753 [28/Jan/2016 13:52:22] "GET /filters/organizations?page=1&userid=idm HTTP/1.1" 200 322 [28/Jan/2016 13:52:22] "GET /filters/applications?page=1&userid=idm HTTP/1.1" 200 661

Thank you.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2016-01-26 11:32:43 +0200

albertinisg gravatar image

Hi! I've tested in my own image and it works. I think the problem is that you are logged in Keyrock with a user that does not have the right roles, or probably a different user from the one who created the application.

So if you followed the official guide and you are using the initial provision and the default application created, here is the code where this happen:

https://github.com/ging/fiware-idm/bl...

So I guess you should log in as 'user0' to be able to remove that.

Hope it works!

edit flag offensive delete link more

Comments

Thank you for the answer. I think user0 must be the admin of the system so it has the rights to remove or edit roles for the applications registered in the fiware lab instance, but what I did was as follow: - Registered a new user, activated the account, registered my application.How is it possible?

JustHSB gravatar imageJustHSB ( 2016-01-27 02:38:41 +0200 )edit

Nop, user0 is not admin, in fact it is not able to see all the applications registered by other users.

JustHSB gravatar imageJustHSB ( 2016-01-27 02:53:34 +0200 )edit

Another clue which could help solve the problem: when I register an application ther are 3 steps: application details, app icon and permission and roles. The last step is automatically skipped, I go through only first 2 steps but why?

JustHSB gravatar imageJustHSB ( 2016-01-27 02:58:32 +0200 )edit

If I'm not wrong, 'idm' should be the admin (same password as username). The last step, when you say automatically skipped, you mean skipped by the idm?

albertinisg gravatar imagealbertinisg ( 2016-01-27 04:55:04 +0200 )edit

Yes, I think too that idm is the admin. The last step is skipped by all the users: idm, user0, and other new users. In fact when I click NEXT at "select icon" step, it does not go to step 3...it is skipped and Application is created. I don't understand why?...

JustHSB gravatar imageJustHSB ( 2016-01-27 05:52:44 +0200 )edit
albertinisg gravatar imagealbertinisg ( 2016-01-27 10:22:50 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-01-26 07:23:51 +0200

Seen: 4,112 times

Last updated: Jan 28 '16