Keycloak.Net.Core 1.0.26

Icon

Keycloak.Net.Core

license NuGet downloads

A Fork of https://github.com/lvermeulen/Keycloak.Net with some additional patches

  • allow usage of CancellationTokens
  • changed ClientConfig to Dictionary<string, string>
  • removed signing
  • .net 6 support only
  • updated for keycloak version 17+
  • added support for changing default AdminClientId which has default admin-cli value

To use different AdminClientId, use newly introduced KeyCloakOptions:

new KeycloakClient(
  "http://keycloak.url",
  "adminUserName",
  "adminPassword",
  new KeycloakOptions(adminClientId:"admin"
  )
);

Older version support for using /auth path

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/

Features

  • Attack Detection
  • Authentication Management
  • Client Attribute Certificate
  • Client Initial Access
  • Client Registration Policy
  • Client Role Mappings
  • Client Scopes
  • Clients
  • Component
  • Groups
  • Identity Providers
  • Key
  • Protocol Mappers
  • Realms Admin
  • Role Mapper
  • Roles
  • Roles (by ID)
  • Scope Mappings
  • User Storage Provider
  • Users
  • Root

No packages depend on Keycloak.Net.Core.

.NET 6.0

Version Downloads Last updated
1.0.41 2 10/16/2026
1.0.40 1 10/17/2026
1.0.39 1 10/17/2026
1.0.38 1 10/17/2026
1.0.37 1 10/17/2026
1.0.36 1 10/17/2026
1.0.35 1 10/17/2026
1.0.34 1 10/17/2026
1.0.33 1 10/17/2026
1.0.32 1 10/17/2026
1.0.31 1 10/17/2026
1.0.30 1 10/17/2026
1.0.29 1 10/17/2026
1.0.28 1 10/17/2026
1.0.27 1 10/17/2026
1.0.26 1 10/17/2026
1.0.25 1 10/17/2026
1.0.23 1 10/17/2026
1.0.22 1 10/17/2026
1.0.21 1 10/17/2026
1.0.20 1 10/17/2026
1.0.19 1 10/17/2026