Closed fchampreux closed 2 years ago
thanks for the PR but I really don't want to break existing implementations. Also this PR needed some tests and some updates to the documentation.
So based on this PR, I've re-implemented this feature with all the above. Hope you get to try it out and it works for you.
Thanks a lot for turning my poor workaround into an actual and efficient solution!
As described in issue #19 , our Keycloak authenthication servers do not include the /auth/ chunk in their URL. So I propose to pass this part to the omniauth callback as base_url parameter.
The impact is high on existing implementations, because it requires the client configuration to be updated. Thus it removes the hardcoded /auth/ url base.
I hope this proposal is useful.