Skip to main content
Keycloak is a mature identity server that you deploy and run. theAuth is a library you embed in your app. Of the products we checked, Keycloak comes closest to theAuth on device flows and delegation, so it is the one to read carefully if you need those. Every Keycloak fact below comes from its own documentation, fetched on 2026-10-18. Its latest release on that date was 26.8.1, published 2026-10-13. Status words for theAuth rows: “Published” means it is in npm @glinr/theauth 1.2.0. “Release branch” means it is on release/agent-wave9-2026-10-18 and not in a published release.

What Keycloak documents

Where its docs stop

On 2026-10-18 we did not find the following on the Keycloak pages we fetched. This is not proof that Keycloak lacks them.
  • Approvals bound to call arguments: not found. We did not find it in the CIBA material we read.
  • A tamper evident audit chain: not found. The admin guide covers auditing user events and admin events, and we saw no hash chain or integrity mechanism. We read only the first 200k of 688k characters of that guide.
  • IoT device principals and MQTT: partly. The Device Authorization Grant exists, but we found MQTT only in third party tutorials, which we did not verify.
  • ROS 2 or robotics: not found in Keycloak’s documentation.
  • Revocation that reaches exchanged tokens: its token exchange documentation says revoking an access token does not revoke the exchanged access token. A refresh token revocation chain does exist. We did not find multi-hop nested act chains described.

How theAuth differs

Where Keycloak is ahead

  • It is a full identity server with years of production use, a supported standards list, an admin console, themed login pages, and many database backends.
  • Device Authorization Grant, CIBA and DPoP are marked Supported today. The theAuth device work is not in a published release.
  • It covers SAML, LDAP style federation and social login out of the box. Our SAML verifier has not had an independent audit.

Pick theAuth if

  • You want auth as a library inside a TypeScript or Go app, with agents and devices as principals.
  • You need approvals tied to exact arguments or revocation that reaches issued tokens, and you can run the release branch or wait for it.

Pick Keycloak if

  • You want a standalone identity server for employees and customers, with a supported standards list.
  • You need device grant, CIBA or DPoP now, from a stable release.

theAuth vs better-auth

The closest open source library comparison.

theAuth vs paid platforms

Clerk and Auth0 against theAuth.
Last modified on October 19, 2026