Keycloak SSO and identity integration

A build guide for connecting applications to Keycloak over OpenID Connect and SAML 2.0, covering client registration, token and session settings, role mapping and single sign-on across web, mobile and APIs.

On this page

Keycloak SSO integration: what each application connection involves

Single sign-on in Keycloak comes from registering each application as a client in a realm, then making deliberate choices about how that client authenticates, what tokens it receives and how sessions end. Keycloak supports OpenID Connect, OAuth 2.0 and SAML 2.0, so the same realm can serve a web portal, a mobile app and an API, but each connection carries its own settings. This section covers what those settings are and why each application connection takes more work than the first successful login suggests. It assumes you already have a running Keycloak realm. User federation, identity brokering, MFA and operator-managed deployment are covered on their sibling pages.

Each application connection is a set of decisions, not a single toggle. Redirect URIs must match exactly, so a loose wildcard can let an attacker redirect an authorization code to a host you do not control, while an overly narrow list breaks sign-in after a domain change. Public clients, such as single-page apps and mobile apps, cannot keep a client secret and rely on PKCE, while confidential server-side clients hold a secret that must be stored and rotated. Token claims decide what the application can trust: the scopes, roles, groups and custom attributes mapped into the ID token or access token determine what each app sees, and including too much personal data in tokens spreads it to every relying party. Session and token lifetimes control how long a sign-in stays valid across apps.

Logout is the part teams most often leave for later. Ending a session in Keycloak does not automatically end the session in every application, so you need to decide whether each client uses front-channel or back-channel logout and test what happens when a user signs out of one app and opens another. Before go-live, confirm with your own environment which logout and token behaviors your chosen client type and application library support, and write down the expected result for each application. Those written expectations become the test cases you run against the realm before any user depends on it.

Which Keycloak components an application integration touches

An application that signs in through Keycloak depends on a small set of objects: the realm that holds users, the client that represents the application, the scopes and mappers that shape its tokens, and the lifespans that decide how long sign-in lasts. Settings in one object often change the behavior of another, so review them together before go-live.

Realms as the identity boundary

A realm is the container for users, groups, roles, clients and sign-in settings. Everything an application receives from Keycloak comes from the realm it belongs to, and users in one realm are not visible to another. Choose the realm count with your team before registering clients, because moving clients and users between realms later is a migration project. Check realm-level settings such as login flows, password policy and token defaults in the admin console under the realm settings pages.

Keycloak docs

OIDC and SAML clients

A client is Keycloak's record of an application that requests sign-in. OpenID Connect clients use redirect URIs, a client authentication method and, for browser apps, PKCE settings. SAML clients use an entity ID, assertion consumer URLs and signing or encryption certificates. Wrong redirect URIs are a common cause of failed sign-in, so list exact callback URLs for each environment and avoid broad wildcards in production.

Client scopes and protocol mappers

Client scopes group the claims or assertion attributes an application receives. Protocol mappers, defined inside a scope or client, decide what goes into the ID token, access token or SAML assertion, such as user attributes, group membership or audience values. Review what each application actually reads, since extra claims widen what leaves the realm and can break applications that validate token contents strictly.

Roles and groups

Roles describe what a user may do, and groups organize users and carry role assignments. Client roles belong to one client, while realm roles apply across the realm. Mappers decide whether roles and groups appear in tokens and under which claim names. Agree on a naming convention and an owner for each role before mapping, because application authorization code often matches role strings exactly.

Token and session lifespans

Access token, ID token, refresh token and SSO session lifespans are set at the realm and can be overridden per client. Shorter access tokens limit exposure from a stolen token, while SSO session idle and max values decide how long a user stays signed in across applications. Test sign-in and silent renewal with the values you intend to use, since mobile and long-running API clients fail in different ways when lifespans change.

Browser sessions that drive single sign-on

Single sign-on works because Keycloak keeps a user session that all applications in the realm share. When a user signs out of one application, that does not end the Keycloak session unless back-channel or front-channel logout is configured for each client. Confirm which applications must receive logout notifications, and test signing out from one app while another is open in a second browser.

OpenID Connect or SAML 2.0 for each application type

Server-rendered web applications that run their own backend are usually registered as confidential OpenID Connect clients. The backend holds the client secret, completes the authorization code exchange, and manages the user session with a cookie, so tokens never need to reach the browser. Keycloak issues the tokens, but the application still decides how long its own session lasts and what it does when the Keycloak session ends.

  • Client type: Confidential client with the authorization code flow, and a client secret or a client authentication method your security team has approved.
  • Redirect URIs: Register exact redirect URIs for each environment. Wildcards widen the set of places an authorization code can be delivered.
  • Validation: The application should verify the ID token signature, issuer, audience, expiry and nonce before creating a session.
  • Session handling: Map Keycloak's SSO session to the app session deliberately, and confirm how logout and back-channel logout reach the app.
  • Roles and groups: Read claims from the ID token or userinfo endpoint and map them to application permissions in the app, not in the browser.

Before go-live, confirm with your application team that the framework supports OIDC discovery, signature checks and the logout behavior you have chosen.

How a single sign-on login flows from app to Keycloak and back

The login starts in the browser app, which sends the user to Keycloak's authorization endpoint with a PKCE code challenge. Keycloak returns an authorization code through the browser. The confidential backend then exchanges that code at the token endpoint using the code verifier and its client secret, keeps the tokens server side, and sets a session cookie in the browser. The backend calls the protected API with the access token, and the API checks the token against Keycloak's signing keys. The mobile app follows the same PKCE pattern without a client secret. Check that tokens never reach public clients in long-lived storage.

PKCE login for a browser app and a mobile app, with the session cookie kept by the backend.

Which client, token and session choices to make before building

This table compares the client, token, session and logout decisions you make before registering applications in Keycloak, with the situations where each option fits and the operational cost it carries. Read each row as a trade-off: the setting that makes sign-in convenient often makes revocation slower, tokens larger or re-login less frequent.

DecisionWhen it fitsOperational cost to weigh
Confidential vs public clientConfidential clients suit server-side web apps that can hold a client secret. Public clients suit single-page apps and native mobile apps that cannot keep a secret.Public clients rely on PKCE and redirect URI rules alone, so tighten redirect URIs and web origins. Confidential clients add secret rotation to the operating routine.
One client per app vs shared clientOne client per application gives each app its own scopes, redirect URIs, secrets and logout settings. A shared client suits a small set of apps that really are one product.Shared clients widen the blast radius of a misconfigured redirect URI or leaked secret. Separate clients add more objects to review and test during each upgrade.
Access token lifetimeShort access tokens suit APIs and sensitive operations. Longer lifetimes suit low-risk apps where calling the token server on every request is undesirable.Longer access tokens keep working after a user is disabled until they expire, so revocation is delayed. Short lifetimes increase refresh traffic and load on the token endpoint.
Refresh token lifetime and rotationRotating refresh tokens suit mobile and single-page apps that run long sessions and need stolen-token detection.Long refresh lifetimes extend how long a lost device stays signed in. Short lifetimes force more frequent re-login, which users notice first in mobile apps.
SSO session idle and maxShort idle timeouts suit privileged consoles. Longer idle and max values suit internal tools where users switch between apps all day.Session settings apply across every client in the realm, so a short setting for one app affects all of them. Confirm which values each client inherits or overrides.
Front-channel logoutFront-channel logout uses browser redirects or iframes to notify clients. It fits simple web apps that run in the user's browser and can be reached during logout.It depends on browsers allowing third-party cookies and on each app responding in time, so some sessions may not log out cleanly. Test across the browsers your users run.
Back-channel logoutBack-channel logout has Keycloak call each client's logout endpoint server to server. It fits APIs, server-side apps and anything that must end sessions reliably.Each client needs a reachable logout URL and signed logout token handling. Keycloak 26.8 requires signature validation of backchannel logout tokens from external providers, so plan for that check.
Role mapping into tokensMapping roles into the token body suits small realms with few clients, where every app reads the same claims.Large role sets inflate token size and can break header limits in proxies. Changes to roles take effect only when new tokens are issued.
Roles through client scopesClient scopes suit many clients that need different subsets of roles or claims, and keep token contents controlled per application.Scope mappers add configuration to maintain and test for each client. Confirm which audience and claims each API expects before changing a scope.

Build sequence for registering clients and mapping roles

This sequence takes an application from an unregistered state to working OpenID Connect and SAML sign-in in a Keycloak realm, with roles and groups carried in tokens and session lifetimes set on purpose. Each step closes with a check, so the team knows a stage is finished before the next one starts.

  1. Confirm realm and hostnames

    Before creating anything, the platform owner confirms the target realm name, the public frontend hostname that users and applications will see, and the separate hostname or path used for the admin console and Administration REST API. Keep test and production realms apart so that a test client can never be promoted by accident. Done means the realm exists, the frontend URL resolves over TLS, and the admin hostname is reachable only from the administrators' network. Confirm these choices against the production guidance in the Keycloak documentation before going further.

  2. Register one test client

    The identity engineer creates a single OpenID Connect client for a non-critical test application in the realm, using the client ID agreed with the application team. Start with one client so that problems in protocol settings, scopes or mappers are isolated and easy to trace. Done means the client appears in the realm's client list, and a browser sign-in to the realm's login page completes with a test user account.

  3. Set exact redirect URIs and web origins

    Enter the precise callback URLs the application uses, along with its post-logout redirect URIs and web origins for browser-based calls. Avoid wildcards except where the application's team has a documented reason, because loose redirect rules are a common route for token theft. Done means an attempt to sign in from an unlisted callback URL is rejected by Keycloak, and the listed URL completes the sign-in. Record each approved URI in the change ticket so reviewers can compare it with the application configuration.

  4. Choose client authentication

    Decide whether the client is confidential, which means it holds a secret or uses signed client assertions and can call the token endpoint from a server, or public, which suits single-page and mobile apps that cannot keep a secret. Public clients should rely on the PKCE flow supported by the application library. Done means the client type matches the application architecture, and a token request with a missing or wrong credential fails as expected in a test call.

  5. Configure client scopes and protocol mappers

    Attach the client scopes that the application needs and add protocol mappers that place realm roles, client roles and group membership into the access token or ID token under claim names the application expects. Limit each mapper to the claims that the application actually reads. Done means a test user's sign-in produces a token in which the role and group claims appear with the expected names and values, and users without the role do not receive it. Check the decoded token in a JWT inspection tool.

  6. Set token and session lifespans

    Set access token lifetime, refresh token behavior, SSO session idle and maximum values, and client session limits for the realm or the client, based on the risk of the application and the team's security policy. Shorter access tokens reduce exposure but increase refresh traffic, so test the application's refresh behavior under these values. Done means a test session expires at the configured point, the application re-authenticates correctly, and the chosen values are written in the realm configuration record.

  7. Wire the application library to the discovery endpoint

    Point the application's OpenID Connect library at the realm's well-known discovery document rather than hard-coding endpoints, so that issuer, token and JWKS locations come from the server. Confirm the issuer value matches the token's iss claim exactly, including the hostname and realm path. Done means the application signs in end to end, validates the token signature against the published keys, and rejects a token whose issuer or audience does not match.

  8. Add SAML clients with metadata and signing

    For SAML applications, the team imports the service provider metadata or enters its assertion consumer URL and entity ID, then exports the Keycloak identity provider metadata for the application. Decide whether assertions, responses or both are signed, which key is used, and whether encryption is required. Done means a SAML sign-in completes, and a review of the assertion in a SAML tracer browser extension shows the expected issuer, audience, attribute statements and a valid signature. Repeat the review after any certificate rotation.

How role and group mapping shapes what each app receives

Role and group mapping decides what each application can read from a sign-in, so it is a security decision, not just a configuration step. In Keycloak, realm roles apply across the whole realm, client roles belong to one client and only that client's tokens carry them, and groups are collections of users that can carry roles and attributes. Protocol mappers then decide which of these reach the ID token, the access token, the userinfo response or the SAML assertion, and under which claim name. Each application should receive only the roles it needs to make a coarse decision, such as whether a user may enter the app at all.

The main risk is the overly broad token. A common shortcut is to add every realm role to every access token through a default mapper, so a payroll app receives administrator roles that belong to an unrelated system. Tokens are readable by the client and sometimes forwarded to downstream APIs, so extra roles spread beyond the app that needs them. Review each client's scope and mapper settings, keep client roles on the client that uses them, and confirm with each application team which claim name and format it expects. The claim name is a contract: if the app reads roles but Keycloak emits a different path, sign-in succeeds and authorization quietly fails.

Keep authorization rules in the application. Keycloak supplies identity and coarse roles, while the application decides what a role means for its own data, such as which records a manager can approve. Keycloak's fine-grained authorization services can model resource-level policies, but they are a separate design choice with their own administration and testing cost, and the team should decide that deliberately before depending on them. Confirm the chosen approach against the Keycloak server administration guide and test each client's token contents against the application's expected claims before go-live.

What drives integration effort and how to keep it down

This table lists the factors that most change how much work a Keycloak SSO integration takes, with a practical way to reduce each one. Read each row as a cost lever: the driver on the left grows effort, and the middle column shows how a standard pattern keeps it contained.

DriverWhy it adds effortHow to keep it down
Number of applications and protocolsEach OpenID Connect or SAML 2.0 client needs its own redirect URIs, signing settings, scopes and test cases, and mixed protocols double the configuration patterns to maintain.Standardize on one protocol where the application allows it, and reuse client scope templates so common mappers are defined once.
Distinct role modelsApplications that each define roles differently force mapping rules into every client and make access reviews hard to read.Agree a shared role naming scheme and map realm roles or groups to application roles in one place, documented before the first client is registered.
Legacy apps needing SAML or custom claimsOlder applications often expect specific SAML attributes or non-standard claim names, which needs custom mappers and tests for each release of the app.Keep a written claim contract listing required attributes, names and formats, and isolate legacy exceptions in named client scopes so they do not spread.
Mobile and API audiencesNative apps need public clients with PKCE, and APIs need audience and scope checks, so token behavior differs from browser apps and must be tested separately.Define one client type per audience pattern, set audience mappers consistently, and test token issuance for each pattern in the test realm.
Separate environments and hostnamesDev, test and production each need their own redirect URIs, secrets and frontend URLs, and mismatches are a common source of failed sign-ins after promotion.Manage client configuration as code or exports, parameterize hostnames per environment, and keep a test realm that mirrors production settings.
Compliance evidence for token lifetimes and logoutAssessors usually ask for documented token and session lifetimes, back-channel or front-channel logout behavior and proof that settings match the approved design.Record the approved lifetimes and logout settings in a baseline, export realm configuration on each change, and retain test results showing the settings in effect. Confirm the specific evidence your auditor expects.

Securing clients, tokens and sign-out

Most Keycloak SSO incidents trace back to a few places: loose redirect URIs, secrets stored in code, unvalidated tokens and sign-out that never reaches the applications. The cards below cover the client, token and logout settings to review before go-live, plus the admin console boundary that protects all of them.

Exact redirect URI matching

Each client's valid redirect URIs should be full, exact addresses, not wildcard patterns that match any path under a domain. Keycloak sends authorization codes and tokens to these addresses, so a broad pattern lets an attacker who controls one page on the host receive them. List every environment separately, remove leftover localhost and test entries from production realms, and confirm the web origin settings match the same hosts. Review the list whenever an application changes its callback path.

Keycloak docs

PKCE for public clients

Single-page apps and native mobile apps cannot keep a client secret, so they are public clients and depend on Proof Key for Code Exchange (PKCE) to bind the authorization code to the app that requested it. Enable PKCE on each public client and set the code challenge method to S256 so the plain method is not accepted. Test the flow on every platform you ship, because a client that skips PKCE can still complete sign-in in some configurations.

Client secrets outside source code

Confidential clients need a client secret or a signed client authentication method, and that secret should never appear in a repository, container image or front-end bundle. Load secrets from your platform's secret store at runtime, rotate them on a schedule your operations team can run, and restrict who can view or regenerate them in the admin console. Ask your team which applications still hold secrets in configuration files, since these are the usual exposure paths.

Token and SAML signature validation

Relying applications must verify the signature and the issuer, audience and expiry of every token they accept, and must not trust a token only because it arrived over TLS. For SAML, check the assertion signature against the pinned Keycloak signing certificate and reject unsigned or wrongly scoped assertions. Keep signing keys in the realm and plan certificate rotation so applications can fetch new keys without a manual change. Test rejection paths as well as the happy path.

Backchannel logout token validation

Backchannel logout lets Keycloak notify applications when a session ends, but only if each receiver validates the logout token it gets. Keycloak 26.8 makes signature validation of backchannel logout tokens from external providers mandatory, so identity brokering setups that relied on unsigned tokens need checking before upgrade. Confirm each client has a logout URL, test that a logout reaches every application, and monitor failures so sessions do not stay alive in one app after sign-out elsewhere.

Upgrade notes

Admin console and public hostnames

Keycloak's production guide recommends exposing the admin console and Administration REST API on a different hostname or context path from public frontend URLs. Put the admin endpoints behind a network boundary such as a VPN, private ingress or IP allowlist, and make the reverse proxy block admin paths on the public host. Restrict administrator roles to named people, and require strong authentication for admin accounts, since admin access can change every client in the realm.

Production guide

How to test that single sign-on works and fails safely

Test the failure paths before you test the happy path. A successful login across two applications with one session only proves that sign-in works once. Confirm that a user who signs in to the first client reaches the second without a second password prompt, that the session is shared as your design intends, and that a browser with no session is sent back to Keycloak. Then run the negative cases: a redirect_uri that is not registered on the client must be rejected, and so must a request that uses a lookalike host or path. For SAML, edit a signed assertion (change an attribute value or the audience) and confirm the service provider refuses it, and present an assertion signed with a certificate that is not in the client's configuration. Each of these should fail closed with a clear error, not fall through to a working session.

Next, test the token contract that APIs depend on. Use an access token that has expired, and one that was revoked by ending the user's session or disabling the user, and confirm each API returns 401 rather than accepting a cached copy. Check that the roles or groups claims in the token match the mapping contract your team agreed for each client, including users who have no mapped role and users with several. Test logout propagation by signing out in one application and attempting a request in the other, and confirm the back-channel logout behavior you configured. Keep a test matrix that records the client, the expected result and the Keycloak event that proves it, so auditors and your own team can repeat it after each upgrade.

Finally, test what happens when Keycloak is unreachable, and do all of this in a non-production realm before cutover. Stop the Keycloak service or block its hostname from one application at a time, then record whether existing sessions keep working until token expiry, whether new sign-ins show a clear error, and whether your APIs fail closed when they cannot fetch signing keys. Confirm the timing with your own token lifetimes, because that is the real window of exposure. Ask your platform team to confirm the metrics and log output they will watch during a real outage, using the guidance in the Keycloak observability documentation. A test realm with copied clients and seeded test users lets you run these cases repeatedly without touching production users.

What to monitor, document and review after go-live

Go-live is where SSO integrations start to drift. Clients get added, secrets expire, and each Keycloak minor release changes behavior in small ways. The cards below cover the records, logs, metrics and review cycles that keep sign-in predictable after launch.

Client inventory with owners

Keep a register of every Keycloak client with its owning team, business contact, protocol (OpenID Connect or SAML 2.0), realm, and the exact redirect URIs and post-logout URIs it accepts. Review the register on a fixed schedule and remove clients for retired applications. Wildcard or stale redirect URIs are a common source of open redirect findings, so every redirect URI should trace back to a named owner. Where clients are managed as code, such as with the Keycloak Operator's KeycloakOIDCClient and KeycloakSAMLClient resources, the register can be generated from the same source.

Keycloak docs

Claim contract per application

For each application, write down which token claims it expects, such as subject, email, roles, groups and the audience value, and which mapper in Keycloak produces each one. Include the token lifetimes the application assumes. Changes to a mapper, a realm role name or a group path can break an application without any error on the Keycloak side. Re-check the contract whenever a client, scope or mapper changes, and keep it next to the client inventory so application teams and the identity team review the same document.

Login failure and admin event logs

Decide where Keycloak login events and admin events are stored, who can read them, and how long they are kept. Failed logins reveal password spraying, misconfigured clients and users locked out after a directory change, so failures should be reviewed as a signal, not only as support tickets. Admin events record realm, client and role changes and should be retained under the same policy as other privileged activity. Confirm the event listener configuration in your environment and test that the events reach your central log system before go-live.

Login latency and failure metrics

Enable metrics with --metrics-enabled=true so Keycloak serves Prometheus-format data at /metrics on the management interface, and keep that interface off the public hostname. Scrape login counts, failure counts, request latency and cache health, and alert on sustained changes rather than single spikes. Restrict who can reach the metrics endpoint, since it reveals usage patterns. Confirm which optional histograms your build exposes before writing alert rules against them.

Metrics guide

Client secret and certificate review

List every confidential client secret, the SAML signing and encryption certificates, and the identity provider certificates that Keycloak trusts when brokering. Record each expiry date and the team that rotates it. Rotation should be rehearsed in a non-production realm, because a rotated SAML certificate that is not updated at the service provider stops sign-in for that application. Check that secrets are stored in a vault and not in application configuration files, and that retired credentials are revoked.

Integration retest on each minor release

Keycloak plans four minor releases a year, and breaking changes in a minor release are opt-in, so read the upgrade notes for every minor release before updating a test environment. Re-run the sign-in, token refresh, logout and role checks for each client against a copy of production realm configuration. Operator users should keep manual approval mode for updates so that each upgrade follows this test cycle. Record the results against the client inventory so any change in behavior is traceable to a specific release.

Minor releases a year
Four
Release update policy

Questions teams ask before integrating Keycloak SSO

How long does a Keycloak SSO integration take?

The duration depends on how many applications you connect, how many of them need custom claims or role mapping, and how many environments you must validate before production. Each application adds its own work: registering the client, choosing redirect URIs and token settings, mapping roles and groups, and testing sign-in, sign-out and token refresh. Work is also needed on the Keycloak side, including realm design, the database and TLS setup, and any directory or external identity provider the realm must trust. Ask any partner to break the schedule down by application and by environment, and to name which items depend on your identity team or your application owners. No duration is given here because the answer depends on your estate.

Can our internal team integrate Keycloak SSO without a partner?

Yes, many teams do this in house, provided they have people who can administer Keycloak and read protocol details. The skills that matter most are OpenID Connect and SAML 2.0 configuration, certificate and key handling, reverse proxy and TLS setup, and a clear view of which applications hold sensitive data. Teams often struggle with the gaps between applications: inconsistent role names, missing logout handling, and tokens that carry more data than the application needs. A partner adds value where you lack capacity, need an independent review of the design, or must produce evidence for an audit. Whichever path you choose, ask for the design decisions in writing before any client is registered.

What do application owners need to provide for an SSO integration?

Application owners need to supply the facts Keycloak cannot infer. For each application, that means the protocol it supports, the redirect and logout URLs for each environment, whether it is a public client such as a single-page or mobile app or a confidential server-side app, and the claims or roles it expects. They should also confirm the session length they require, which groups may sign in, and how the app handles accounts that Keycloak has disabled. For APIs, owners must describe the audience and scopes that tokens need and how the API validates them. Agree on these inputs early, because a missing redirect URI or an unexpected role name is one of the most common causes of delay during testing.

Should we choose OIDC or SAML 2.0 for Keycloak SSO?

For most new web, mobile and API applications, OpenID Connect is the better fit because it works well with browsers, native apps and token-based APIs. SAML 2.0 remains the common choice for many enterprise SaaS products and older applications that only accept SAML assertions. Keycloak supports both protocols, so the decision is usually per application rather than for the whole estate. Consider what each application supports on its side, how its user and role model maps to claims, how it handles logout, and how much certificate management your team can sustain. Record the choice per application so that auditors and future engineers can see why each one was configured as it was.

What happens to existing sessions during an SSO cutover?

Existing sessions depend on where they live. Sessions issued by the old identity provider usually stay valid until they expire or are revoked, so users may sign in twice or see an unexpected prompt while both systems run side by side. Sessions created in Keycloak are governed by realm settings for session idle time, maximum lifespan and token lifetimes, which you should set deliberately before go-live. Applications with their own local sessions may keep users signed in even after the central session ends, so logout behavior must be tested per application. Plan the cutover window, decide whether to force re-authentication, and confirm with each application owner how their session handling reacts to a changed identity provider.

What should we ask a partner to include in a written SSO scope?

A written scope should list each application and protocol in scope, each environment to be configured, and the Keycloak components involved, such as realms, clients, roles, groups and any identity brokering. It should state what is excluded, who owns each dependency, and what testing will prove that sign-in, sign-out, token refresh and role mapping work. Ask for deliverables in concrete terms: configuration documentation, a runbook for operations, test results, and a handover plan. Also ask how changes after go-live are priced and approved, and how the work fits with Keycloak release updates and the upgrade process. Fixed scopes are typically agreed in writing before work starts, so every assumption should appear in that document.

How DeployOpen scopes, builds and hands over Keycloak SSO integrations

DeployOpen approaches Keycloak SSO and identity integration as a written, fixed-scope engagement inside your own infrastructure. We agree which applications, protocols and sign-in patterns are covered, build and test them in the environments you run, and hand over documented configuration your team can operate.

How we scope

  • Inventory each application, its protocol (OpenID Connect or SAML 2.0) and its sign-in and logout requirements
  • Agree which realms, clients, roles and groups are in scope and which directory or identity provider is the source of truth
  • Record the scope, deliverables and timeline in writing before any build work starts, with a quote following from that scope

How we build

  • Register clients with exact redirect URIs, token lifetimes and session settings matched to each application's risk profile
  • Configure role and group mappers so tokens carry the claims each web, mobile and API consumer actually needs
  • Test sign-in, single logout, token refresh and API authorization flows in a non-production environment before cutover

How we hand over

  • Deliver realm and client configuration with a written record of each setting, its purpose and its owner
  • Document the sign-in patterns for web, mobile and API clients, including what to change when a new application is added
  • Walk your identity and application teams through configuration, test evidence and the open items that remain

How we support

  • Offer ongoing support, upgrades and continuous testing as retainers, scoped separately from the original engagement
  • Review Keycloak upgrade notes against your client and token configuration before each minor release reaches production
  • Confirm with your team which support terms, response expectations and access arrangements apply before go-live

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.