SAF2 / documentation

2 stars 3 forks source link

keyCloak vs keyRing #31

Closed diegoguidotti closed 9 years ago

diegoguidotti commented 9 years ago

Discussing with other SAF companies we share the idea that it is difficult to understand why FIware and Fispace use two different IDM (keyCloak and keyRing) . If we use some FIware GEs we need to use Fiware but for FIspace we should use keyCloak. We need a clear indication about which IDM we should use.

We prefer to use keyRing for several reasons:

sbrahma commented 9 years ago

Hello, your issue has been forwarded to the FIspace team: https://bitbucket.org/fispace/phase3support/issue/44/keycloak-vs-keyring

sbrahma commented 9 years ago

Please find the response in https://bitbucket.org/fispace/phase3support/issue/44/keycloak-vs-keyring.

JanWillemKruize commented 9 years ago

Comment provided by FIspace team:


Assuming reference to the GE Keyrock (instead of keyring). There is quite some history about the identity management GE and why FIspace choose to use an open source product that fully supports standards instead. While I would not mind to elaborate, bottom line is that FIspace uses standard OAUTH2 mechanism for authentication, which is provided by KeyCloak.

There is no need to use any keycloak specific library, any OAUTH2 compatible client would work.

When working on a java project, I would advice using the keycloak client adapater, since it's by far most convenient OAUTH2 client library to use.

Now when an external service provider wants to be able to receive calls from FIspace, it should accept and check FIspace access tokens. This does not mean that the external service needs to be secures with keycloak! Keyrock GE could be used for the service security layer and user administration, as long as the security layer is able to handle OAUTH2 access tokens from FIspace authentication server. In a later version of FIspace arrangements can be made to store a refreshtoken in FIspace so the external service does not have to handle the FISpace tokens anymore, but for now this is a limitation. This limitation is the same if keycloak of keyrock is used on either side, as long as 2 authentication servers are used, they will need to either be able to check alien tokens, or to exchange refresh tokens.


Closing the issue since it has been marked as "won't fix"