groupoffice icon indicating copy to clipboard operation
groupoffice copied to clipboard

Feature request: Keycloak integration

Open NGroens opened this issue 2 years ago • 6 comments

Hello,

are there also plans for other OAuth providers like a self-hosted Keycloak server? For this, it would be necessary to be able to define the entry points yourself.

Thanks.

NGroens avatar Sep 27 '22 17:09 NGroens

Well there is https://github.com/stevenmaguire/oauth2-keycloak package so it could be possible I guess.

michalcharvat avatar Sep 27 '22 22:09 michalcharvat

I guess in this case would be the best extend oauth2client module by another provider (for sure the settings table has to be extended by additional details - perhaps json column where you could copy the whole configuration - keycloak offers json format similar to google).

image

After that the major step should come - create oauth authenticator module @mschering


https://docs.axway.com/bundle/EBICSClient_11_allOS_en_HTML5/page/install_and_configure_keycloak_server.html https://www.keycloak.org/getting-started/getting-started-docker

michalcharvat avatar Oct 11 '22 22:10 michalcharvat

@NGroens, what is your use case? For now, I am assuming Single SignOn, but please feel free to specify. We currently only use the OAuth2 client to connect to certain IMAP providers, so in its current form, just having the OAuth2 connection would be of limited use. A way to use said connection would have to be implemented as well. SSO would be awesome, but currently our focus is on several other projects.

derjoachim avatar Oct 12 '22 12:10 derjoachim

@derjoachim Yes exactly. I assumed that the client can be used for single sign on. If this is not the case, then Keycloak is indeed not necessary, and I misunderstood. I would be very happy to have single sign on. But I can also understand if there are other, more important projects.

NGroens avatar Oct 12 '22 12:10 NGroens

We can make an offer to implement this if you like.

mschering avatar Nov 25 '22 12:11 mschering

Thank you for the offer. However, this feature is not so important for me. I was just interested if this function is planned.

NGroens avatar Nov 25 '22 17:11 NGroens