-
Notifications
You must be signed in to change notification settings - Fork 5
Owncloud and Keycloak OpenID integration #7
Comments
I have no in depth knowledge on Keycloak - does it speak OpenId? You might want to try https://github.com/owncloud/sociallogin |
yes. Keycloak do support openid-connect protocol authorization_endpoint token_endpoint token_introspection_endpoint userinfo_endpoint end_session_endpoint jwks_uri |
GitMate.io thinks the contributor most likely able to help you is @PVince81. Possibly related issues are owncloud/core#3468 (Error LDAP integration Owncloud), owncloud/core#10222 (owncloud security), owncloud/core#12200 (OwnCloud Data), owncloud/core#8025 (Owncloud Duplicating), and owncloud/core#3248 (Owncloud Error). |
@DeepDiver1975 do you think we can use sociallogin with the Keycloak ? |
Looks good - give it a try and let me know about the test results. THX 👍 |
@DeepDiver1975 pls inform me about success |
@DeepDiver1975 @mmattel ok. will do ! |
We get an error Could you please please help us debug that ? As we don't see logs in owncloud.log even having DEBUG enabled |
{ |
@DeepDiver1975 do you think this could be a SCOPE issue ? |
Found that error in a class Did a print of a collection [access_token] => eyJhbGciOiJSUz... So there is no |
Changed that to |
The very last error message we have
|
Can you describe in more detail what you did respectively what to avoid to be successful so we can document that properly ? |
|
Did you added this code to |
We have now two Tickets where you basically discuss the same topic. Shall we move this issue to the social login repo? |
@eorlovsky I've been trying to achieve the same for the past few days, many thanks for the info in here which has enabled me to get as far as the same error "Signed API request has returned an error. HTTP client error: malformed." however I'm struggling to resolve this one, can you tell me what software you updated to resolve this? I'm using Keycloak 4.8.3 & Owncloud 10.1.1.1 Many thanks |
I've followed the steps and got it to work. How to prevent the described errors:
Hope that helps. It would be necessary of course that the above described code changes are included in the official code. |
@settermjd fyi |
In addition to what I said above: The reason is that Keycloak provides an ID-Token in addition to an Access-Token in case the scope is set to That would mean that the related Issue #2 could be closed as well. |
How do I set up Owncloud auth in Keycloak? I seem to do everything according to this post: So OwnCloud successfully redirects to KeyCloak login page here: So if I input keycloak credentials right: It redirects back but with an error! this is the resulting webpage: Looks like it renders some webpage instead of token. But I am 100% sure that the token page is |
Can we use the same token to invoke the REST API ? |
FYI: ownCloud will come with a native OpenIDConnect ingtegration soon. I'll move this issue to the social login app because you are working on this end at the moment - which is perfectly fine. 👍 |
any update here by any chance? |
feel free to use https://github.com/owncloud/openidconnect - this is the official OpenID Connect integration |
Expected behaviour
Is it possible in some way or via external plugins to use JBoss Keycloak as an Federation identity for the Owncloud? Another word, we would like to be able to login to Owncloud with a user from the Keycloak.
Just because we use owncloud as one of the services in our company. We would like all the user info store in a single place - Keycloak. And Owncloud can use data from Keycloak user to allow login and grand Roles.
Thanks a lot
ownCloud version:
Version
ownCloud 10.0.8 (stable)
The text was updated successfully, but these errors were encountered: