nikiforovall/keycloak-authorization-services-dotnet/keycloak-administration
Claude Code and agent skill by nikiforovall/keycloak-authorization-services-dotnet
- community
Checking that the SKILL.md file is still in the repository.
Keycloak identity and access management (IAM) administration guidance — realm management, client configuration, authentication flows, authorization policies, security hardening, and troubleshooting. Use when configuring Keycloak, setting up SSO, managing realms/clients, troubleshooting authentication issues, or implementing RBAC. Trigger phrases include "Keycloak", "SSO", "OIDC", "SAML", "identity provider", "IAM", "realm", "access management".
Install
npx vskill@latest install nikiforovall/keycloak-authorization-services-dotnet/keycloak-administrationSKILL.md
The same SKILL.md was published earlier as nikiforovall/keycloak-authorization-services-dotnet/keycloak-administration.
Keycloak Administration
Quick Start
Choose your task and load the appropriate reference:
- New Installation → Continue below
- Realm & User Management → Load realm-management.md
- Client Configuration → Load client-configuration.md
- Authentication & SSO → Load authentication-sso.md
- Authorization & RBAC → Load authorization-rbac.md
- User Federation (LDAP/AD) → Load user-federation.md
- Security Hardening → Load security-hardening.md
- High Availability & Scaling → Load ha-scalability.md
- Troubleshooting → Load troubleshooting.md
- Integration Examples → Load integration-examples.md
Installation & Setup
Docker (Recommended for Development)
Production Mode
Initial Configuration Checklist
- Admin account — strong password (12+ chars)
- Hostname — configure
KC_HOSTNAMEfor production - SSL/TLS — required for production
- Database — PostgreSQL recommended
- SMTP — for email verification and password reset
Core Concepts
| Concept | Description | |
|---|---|---|
| Realm | Tenant boundary. Master realm for admin only; create app realms per environment | |
| Client | Application registration. OIDC (modern) or SAML (legacy). Confidential (server) or Public (SPA/mobile) | |
| User/Group | Identity with credentials. Groups for hierarchical organization | |
| Realm Role | Global permission across all clients in a realm | |
| Client Role | Permission scoped to a single client | |
| Composite Role | Role that inherits other roles |
Common Tasks
Configure SSO for an Application
- Create OIDC client with your app's
client-id - Set Valid Redirect URIs (exact URLs, avoid wildcards)
- Set Client Authentication: On (confidential) or Off (public with PKCE)
- Get discovery endpoint:
{AuthServerUrl}/realms/{realm}/.well-known/openid-configuration - Integrate with your app — see client-configuration.md
Enable MFA
- Authentication → Flows → Duplicate Browser flow
- Add OTP or WebAuthn authenticator
- Set as Required or Conditional
- Bind custom flow to realm
Connect LDAP/Active Directory
- User Federation → Add LDAP Provider
- Configure: URL, Bind DN, Search Base (
ou=users,dc=example,dc=com) - Set up attribute mappers
- Test connection, then sync
Essential CLI Commands
Best Practices
- Realm separation: one realm per app/environment, never use Master for apps
- Token lifespans: access tokens 5–15 min, refresh tokens based on use case
- Public clients: always require PKCE
- Roles: use groups for assignment, roles for permissions, composite roles for aggregation
- Production security: SSL/TLS, brute force protection, MFA for admins, event logging
Reference Documentation
- realm-management.md — Realms, users, groups, attributes, sessions
- client-configuration.md — OIDC/SAML clients, scopes, mappers, service accounts
- authentication-sso.md — Auth flows, MFA, identity brokering, social login
- authorization-rbac.md — Roles, fine-grained authorization (UMA), policies, permissions
- user-federation.md — LDAP/AD integration, sync, mappers, custom providers
- security-hardening.md — Password policies, brute force, TLS, audit, production checklist
- ha-scalability.md — Clustering, database tuning, caching, monitoring, backup/DR
- troubleshooting.md — Login failures, token issues, LDAP sync, session problems, logging
- integration-examples.md — .NET, Spring Boot, Node.js, token validation
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/keycloak-administration/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nikiforovall/keycloak-authorization-services-dotnet/keycloak-administration)