-
Notifications
You must be signed in to change notification settings - Fork 541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Keycloak >= Version 18 #695
Comments
KeyCloak supports OpenID Connect discovery/OAuth 2.0 authorization server metadata so you'd get better results with either the MSFT OIDC handler or with the new OpenIddict client (https://kevinchalet.com/2022/06/22/openiddict-4-0-preview1-is-out/), that support dynamic configurations. |
Thank you for your comment. I did already successful use Keycloak with the AddOpenIdConnect extension from Microsoft. |
Support changes to the resource paths in Keycloak 18.0+. Resolves aspnet-contrib#695.
Support changes to the resource paths in Keycloak 18.0+. Resolves #695.
This fix is now available from NuGet.org in the 6.0.9 release. |
Keycloak changed their default url schema by removing the "auth" part of the url, which causes the Keycloak provider to break for any version >= 18.
Currently the "auth" part is hardcoded. I think this suboptimal, even for older versions. I'm using also keycloak 16 behind a reverse proxy and somehow ended up configured also in a configuration, where "auth" is not part of the url.
I would suggest a additional, nullable property "Path" with the default value "auth" (for backwards compability).
This would not only allow the Version 18 to work, but also other scenarios where Keycloak is hosted under a non out-of-the-box url.
The text was updated successfully, but these errors were encountered: