Skip to main content

Nirvana Lab

APPS AND INTEGRATION

Keycloak Consulting Services for Single Sign-On and API Security

One self-hosted identity layer for your portals, APIs and AI agents, with standard protocols, multi-factor sign-in and the control your security team expects.
ISO/IEC 27001:2022
SOC 2 Type 2
CMMI-certification
APPS AND INTEGRATION

Keycloak Consulting Services for Single Sign-On and API Security

One self-hosted identity layer for your portals, APIs and AI agents, with standard protocols, multi-factor sign-in and the control your security team expects.
ISO/IEC 27001:2022
SOC 2 Type 2
CMMI-certification
At a glance

What is Keycloak?

Keycloak is an open-source identity and access management server, licensed under Apache 2.0 and a Cloud Native Computing Foundation (CNCF) incubating project originally developed at Red Hat. It provides single sign-on with OpenID Connect, OAuth 2.0 and SAML 2.0, multi-factor authentication, user federation with LDAP and Active Directory, identity brokering and realm-based multi-tenancy. Red Hat also sells a supported build.

Nirvana Lab provides Keycloak consulting services: realm and client design, integration with Liferay DXP and custom apps, high-availability deployment on Kubernetes, and upgrades.

Item Detail
What it is
Open-source identity provider and authorization server (Apache 2.0; CNCF incubating project)
What we use it for
Portal SSO, API token issuance, B2B and B2C sign-in, multi-tenant realms, machine-to-machine and agent credentials
Works with
Liferay DXP, React, Python & FastAPI, SpiceDB, PostgreSQL, Kubernetes (Amazon EKS), Terraform
Best fit
Organizations that want self-hosted identity, standard protocols and no per-user license fees
Official site
https://www.keycloak.org

When to choose Keycloak

You need identity you host and control

Keycloak runs in your own AWS account or data center, which helps with data-residency rules and keeps user data off third-party identity clouds.

Many apps should share one sign-in

Portals, React apps, APIs and admin tools register as clients in one realm, so users sign in once and every service trusts the same tokens.

You serve many tenants or partner organizations

Separate realms or organizations per tenant, brokering to each partner's own identity provider, suit B2B portals and SaaS products.

When not to choose Keycloak

If your company already standardizes on Okta or Microsoft Entra ID and has no team to run identity infrastructure, integrate with that provider instead. Keycloak is free to use, but not free to operate.

What we build with Keycloak

Single sign-on across portals and apps

One login, MFA and session policy for every application.

Liferay DXP sign-in

Keycloak as the OpenID Connect or SAML identity provider for Liferay sites, with roles mapped from token claims.

API and microservice security

OAuth 2.0 tokens and scopes that every API checks, including client credentials for service-to-service calls.

Partner and dealer identity

Self-registration, invitation flows and brokering to partners' corporate identity providers.

Student and campus sign-in

One student login across portal, learning and campus services.

Identity for AI agents

Each agent gets its own client and scoped credentials, so its actions are attributable and limited.

keycloak-consulting-services-sso-architecture

How we work with Keycloak

Architecture: realms, clients and claims

We design realms, clients, roles and token claims around how your applications authorize users, and keep fine-grained, per-record permissions in a dedicated service such as SpiceDB.

Security hardening

MFA, brute-force detection, short token lifetimes, key rotation, strict redirect URIs and an admin console that is not reachable from the public internet.

High availability on Kubernetes

We run Keycloak with the Keycloak Operator on Amazon EKS, several replicas, a managed PostgreSQL database and distributed session caching, so one pod failure does not log users out.

Configuration as code

Realms, clients and flows are managed with Terraform or exported configuration and reviewed like code, so environments stay consistent.

Upgrades and customization

Keycloak releases often, so we keep custom themes and extensions (SPIs) small, test upgrades in staging and schedule them on a regular cadence.

Proof

College student
Case Study

Architecting the AI-First & Student-Centric Campus

Moving from Fragmented Legacy Platforms to an All-in-One Digital Experience Executive Summary For today’s digital-native students, a seamless, pers...
Read More
Miller Knoll Thumbnail
Case Study

A Michigan-Based Manufacturer Transforms Supplier Experience Through a Modern Digital Portal

Client Overview A Michigan-based global manufacturing company, operating across 12 countries, was facing increasing challenges with its legacy “Su...
Read More
Transforming a Global CNC Machine Manufacturer with Liferay
Case Study

Transforming a Global CNC Machine Manufacturer with Liferay

Overview A global manufacturing OEM specializing in large CNC milling machines for the automotive and heavy engineering industries set out to moderniz...
Read More

Frequently asked questions

What is Keycloak used for?

Keycloak is used to sign users in to applications and to issue tokens that APIs trust. Typical uses are single sign-on across portals and apps, multi-factor authentication, social or corporate login through identity brokering, LDAP and Active Directory federation, and OAuth 2.0 security for microservices and machine-to-machine calls.

Yes, Keycloak is open source under the Apache 2.0 license and has no license or per-user fees. You pay for the infrastructure it runs on and the people who operate, secure and upgrade it. Organizations that want vendor support can buy the Red Hat build of Keycloak.

Okta is a managed identity cloud: quick to start, vendor-operated, priced per user. Keycloak is self-hosted: more control, no per-user fees, but your team runs it. Okta often suits workforce identity in companies without an identity team; Keycloak suits customer, partner or multi-tenant identity at scale, or strict hosting rules.

Yes. Keycloak federates users from LDAP and Active Directory, and brokers sign-in to Microsoft Entra ID or other providers through OpenID Connect or SAML. Employees can use their corporate login while partners or customers use Keycloak accounts, all in one realm design.

Keycloak handles authentication: who the user is, how they sign in, and which roles are in their token. SpiceDB handles fine-grained authorization: whether this user can view or edit this specific record, based on relationships. Many systems use both, with Keycloak issuing identity and SpiceDB answering permission checks.

Image

Build one secure identity layer with Keycloak

Tell us about your applications, user groups and sign-in flows. We’ll propose a realm design and a rollout plan.

Reviewed by Shashank Gupta, Head of Product · Last Updated 18 Nov, 2026

Book a Demo

Pick a time that works for you. We’ll send a calendar invite.