Identity and AI

Keycloak and identity management

We help integrate centralized authentication and authorization into web applications and APIs using OpenID Connect and OAuth 2.0.

Typical situations

  • Every application has its own sign-in and its own user management.
  • APIs do not check permissions consistently.
  • Sensitive operations need stronger user verification.
  • Users of several customers or organisations have to be kept apart.

What we can deliver

  • Design of realms, clients, roles and token claims
  • Single sign-on (SSO) for web applications
  • JWT validation and authorization in backend APIs
  • MFA and step-up authentication for sensitive operations
  • Keycloak configuration and migration, multi-tenant access

Authentication is not authorization

Keycloak verifies who the user is and issues a token with their identity and roles. What they may do with specific data is decided by the application. That is why every API validates the token’s signature, expiry and audience, and checks permissions on every request, not only in the frontend.

The right design depends on the threat model: who the users are, what data the system protects and what misuse would cause. That drives choices such as token lifetimes, MFA or tenant separation.

How we approach it

  1. We map the applications, the users and today’s ways of signing in.
  2. Roles and claims are designed to match real permissions.
  3. The switch happens application by application, with a way back.

Technologies

  • Keycloak
  • OpenID Connect
  • OAuth 2.0
  • JWT
  • RBAC
  • MFA
  • SAML
  • LDAP

Common questions

Do you do security audits?
We do not perform certified security audits. We help design and implement sign-in and access control and review their configuration.
Can Keycloak connect to an existing user directory?
Yes. Keycloak can connect to LDAP and Active Directory, and to external identity providers through OpenID Connect or SAML.

Facing a similar technical challenge?

Tell us about your system, goals and current constraints. We can discuss the next steps based on the scope of your project.

info@softsphere.solutions