Skip to content
Security · Web app

Keycloak IAM

Identity, SSO and OAuth flows to configure and break.
  • 20 Dcoins / hour
  • standard machine
  • ready in about 15 seconds
  • cybersecurity
  • development
  • cloud-computing

About Keycloak IAM

Keycloak is an open-source identity and access management server. It is how many organisations add single sign-on to their applications, and this lab runs Keycloak 23 so you can configure it from the admin console.

Create a realm, add users and groups, define roles, and register a client application. Then follow an OAuth 2.0 or OpenID Connect sign-in step by step and look at the tokens it issues: what an ID token says about a user, what an access token allows, and how a refresh token keeps a session alive. SAML clients, identity brokering and two-step authentication are all configurable too.

It suits security and web development courses that need more than a diagram of OAuth. Seeing a real authorization code flow, and decoding its token, makes the protocol far easier to understand.

What is installed

  • Single Sign-On
  • OAuth 2.0/OIDC
  • SAML 2.0
  • User federation
  • Fine-grained authorization

What it is good for

  • SSO implementation
  • API security
  • Identity federation
  • Multi-factor auth

What it costs

20 Dcoins an hour while it runs (a standard machine), billed by the minute. Included on Pro and Power. Every new account starts with free Dcoins.

From Start to a working Keycloak IAM takes about 15 seconds, measured on our lab server. If the server is asleep, waking it first adds a minute or two.

Courses that practise this

Similar labs