keycloak

Configure Keycloak realms, clients, and authentication flows.

18|2|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/Lobbi-Docs/claude --skill keycloak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: keycloak
Source: https://github.com/Lobbi-Docs/claude/tree/main/.claude/skills/keycloak
Command: npx skills add https://github.com/Lobbi-Docs/claude --skill keycloak

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the configuration and management of Keycloak, an open-source identity and access management solution, helping you secure applications with robust authentication, authorization, and user federation.

Core Features & Use Cases

  • Realm & Client Management: Configure Keycloak realms, clients (SPAs, backend services), and roles.
  • Authentication Flows: Implement custom authentication flows, including MFA, OTP, and social login.
  • User Federation: Integrate with external user directories like LDAP and Active Directory.
  • Use Case: You need to set up a new frontend application to use Keycloak for authentication. Use this skill to create a new public client, configure its redirect URIs, and generate the necessary OIDC endpoints for your application to integrate.

Quick Start

Use the keycloak skill to create a new public client named 'my-spa-app' in the 'alpha-members' realm with redirect URI 'http://localhost:3000/*'.

Frequently Asked Questions about keycloak

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up authentication and authorization for my applications?

Authentication and authorization are managed through Keycloak by configuring realms, clients, and roles. Create a realm for your environment, register your application as a client with appropriate redirect URIs, define roles, and configure authentication flows—including optional MFA, OTP, or social login—to secure user access across development and production.

Can I integrate Keycloak with my existing user directory?

Yes, Keycloak supports user federation through LDAP and Active Directory integration. Configure a user federation provider in your realm to connect external directories, allowing Keycloak to authenticate users stored in those systems while maintaining centralized access management.

How do I implement single sign-on across multiple applications?

Single sign-on is enabled by configuring multiple clients within the same Keycloak realm and setting up OIDC or SAML identity providers. Users authenticate once to Keycloak and gain access to all registered applications without re-entering credentials, with token lifetimes and scopes controlling session behavior.

What authentication methods does Keycloak support beyond passwords?

Keycloak supports multi-factor authentication through OTP, WebAuthn, and custom authentication flows. You can also configure social login providers and SAML or OIDC identity providers to enable diverse authentication methods tailored to your security requirements.

Does Keycloak include built-in security protections?

Yes, Keycloak includes PKCE support for public clients, brute force protection against credential attacks, audit logging for compliance and forensics, and configurable token lifetimes. These features address common security requirements for both development and production environments.

Can I customize Keycloak's login and account management pages?

Theme customization allows you to modify Keycloak's login, account management, and email pages to match your application branding. Themes control HTML, CSS, and message templates while preserving underlying authentication functionality.