Skip to content
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 v18+ #708

Merged
merged 1 commit into from
Aug 20, 2022

Conversation

martincostello
Copy link
Member

Support changes to the resource paths in Keycloak 18.0+.

Tested locally using the Docker image following these instructions.

Client configuration

.AddKeycloak(options =>
{
    options.BaseAddress = new Uri("http://localhost:8080");
    options.ClientId = "myclient";
    options.ClientSecret = string.Empty;
    options.Realm = "myrealm";
    options.Version = new Version(19, 0);
    options.AccessType = AspNet.Security.OAuth.Keycloak.KeycloakAuthenticationAccessType.Public;
})

Server configuration

keycloak-server

Successful login

keycloak-client

Resolves #695.

Support changes to the resource paths in Keycloak 18.0+.
Resolves aspnet-contrib#695.
@martincostello martincostello added this to the 6.0.9 milestone Aug 20, 2022
@martincostello martincostello merged commit 34e7b72 into aspnet-contrib:dev Aug 20, 2022
@martincostello martincostello deleted the keycloak-v18 branch August 20, 2022 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

Support Keycloak >= Version 18
1 participant