![]() |
VOOZH | about |
dotnet add package Keycloak.Net.Core --version 1.0.39
NuGet\Install-Package Keycloak.Net.Core -Version 1.0.39
<PackageReference Include="Keycloak.Net.Core" Version="1.0.39" />
<PackageVersion Include="Keycloak.Net.Core" Version="1.0.39" />Directory.Packages.props
<PackageReference Include="Keycloak.Net.Core" />Project file
paket add Keycloak.Net.Core --version 1.0.39
#r "nuget: Keycloak.Net.Core, 1.0.39"
#:package Keycloak.Net.Core@1.0.39
#addin nuget:?package=Keycloak.Net.Core&version=1.0.39Install as a Cake Addin
#tool nuget:?package=Keycloak.Net.Core&version=1.0.39Install as a Cake Tool
A Fork of https://github.com/lvermeulen/Keycloak.Net with some additional patches
AdminClientId which has default admin-cli valueTo use different AdminClientId, use newly introduced KeyCloakOptions:
new KeycloakClient(
"http://keycloak.url",
"adminUserName",
"adminPassword",
new KeycloakOptions(adminClientId:"admin"
)
);
When creating a new KeycloakClient, use newly introduced KeycloakOptions:
new KeycloakClient(
"http://keycloak.url",
"adminUserName",
"adminPassword",
new KeycloakOptions(prefix:"auth"
)
);
C# client for Keycloak 6.x
See documentation at https://www.keycloak.org/docs-api/6.0/rest-api/
In order to run the tests, all it's needed is to have a running instance of Keycloak with (preferably) the master realm credentials admin/admin (as it's currently configured in the /test/Keycloak.Net.Core.Tests/appsettings.json) and create a new realm Insurance by importing the file in /test/insurance-real-export.json, which also has its admin user with the same credentials as mentioned before.
Then it's just as easy as running the tests.
If for some reason you want to change the credentials, you need to make sure both realms have the same user and password as the tests use the same credentials for both master and Insurance realms.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on Keycloak.Net.Core:
| Package | Downloads |
|---|---|
|
NetEvolve.HealthChecks.Keycloak
Contains HealthChecks for the Keycloak service, based on the nuget package `Keycloak.Net.Core`. |
|
|
HTL.Infrastructure.KeyCloak
Package Description |
|
|
HTL.Application
Package Description |
|
|
MedCard.Client
Package Description |
|
|
Ai4c.IdentityService.Application
Package Description |
Showing the top 2 popular GitHub repositories that depend on Keycloak.Net.Core:
| Repository | Stars |
|---|---|
|
testcontainers/testcontainers-dotnet
A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
|
|
|
abpframework/eShopOnAbp
Reference microservice solution built with the ABP Framework and .NET, runs on Kubernetes with Helm configuration, includes API Gateways, Angular and ASP.NET Core MVC applications, PostgreSQL and MongoDB databases
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.39 | 16,304 | 4/30/2026 |
| 1.0.38 | 126,980 | 11/20/2025 |
| 1.0.37 | 26,925 | 10/31/2025 |
| 1.0.36 | 10,029 | 10/1/2025 |
| 1.0.35 | 12,671 | 9/3/2025 |
| 1.0.34 | 216,162 | 4/11/2025 |
| 1.0.33 | 57,988 | 1/31/2025 |
| 1.0.32 | 34,145 | 1/6/2025 |
| 1.0.31 | 47,367 | 12/4/2024 |
| 1.0.30 | 58,291 | 10/4/2024 |
| 1.0.29 | 32,935 | 9/23/2024 |
| 1.0.28 | 31,970 | 8/19/2024 |
| 1.0.27 | 43,473 | 7/30/2024 |
| 1.0.26 | 261,123 | 4/23/2024 |
| 1.0.25 | 10,159 | 3/28/2024 |
| 1.0.23 | 958 | 3/26/2024 |
| 1.0.22 | 160,076 | 8/29/2023 |
| 1.0.21 | 108,435 | 5/17/2023 |
| 1.0.20 | 70,301 | 10/23/2022 |