grav-plugin-login-oauth2 icon indicating copy to clipboard operation
grav-plugin-login-oauth2 copied to clipboard

Feature Request: The addition of Keycloak support or user defined provider

Open mannp opened this issue 5 years ago • 5 comments

Hi there

Thanks for your consideration.

This is the link for Keycloak support via the League/oauth2-client

-> https://github.com/stevenmaguire/oauth2-keycloak

mannp avatar Jul 23 '19 10:07 mannp

Any Feedback on this?

chhemme avatar Nov 16 '21 09:11 chhemme

I wanted to answer on this since a while, so thank you @chhemme for motivating me. I was looking for the Keycloak support a while ago and ended up with forking grav-plugin-login-oauth2-extras and adding a custom Keycloak provider. It does actually use the library mentioned in the original post.

It works stable in my specific usecase since a while but I never found the time to implement all functionality or clean it up. Unfortunately my time to work on this is limited right now but I can at least publish my effort and create a PR. Maybe someone can pick it up or the maintainers can point out what's missing.

Won't happen this week I guess, but I'll try.

ozfox avatar Nov 16 '21 10:11 ozfox

Thanks @ozfox That would be great if you could create PR when you find time for it.

chhemme avatar Nov 17 '21 07:11 chhemme

The Keycloak support was implemented with the merge request Add Keycloak support #5 of the grav-plugin-login-oauth2-extras plugin. All credit goes to @andreasgrill, I am just referencing this here.

What's meant with "user defined provider" is not clear to me, I guess this already possible with the current API and is exactly what the grav-plugin-login-oauth2-extras plugin is doing?!

Guess this can be closed if a new version of login-oauth2-extras is released.

ozfox avatar Feb 28 '22 20:02 ozfox

It means any other oidc compatible provider.

I no longer use grav, so this can be closed for me, or left open to track the item?

mannp avatar Mar 05 '22 09:03 mannp