CIBA in Keycloak: Building a Channel to Reach a User's Phone for Out-of-Band Sign-In

A demo shows a self-service kiosk letting a user sign in by approving a prompt on her phone, with no password typed on a shared screen. The approach relies on OpenID Connect's CIBA flow, which lets an app ask an identity provider to authenticate a named user on another device. Keycloak supports CIBA by default since version 13.0, but it does not know how to reach the user's phone, so developers must build that delivery mechanism themselves. The post walks through building a small Keycloak extension, an authentication channel, and running the full flow on a laptop. It also notes that the authentication channel SPI is internal and may change without notice in Keycloak 26.8.2.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in