hn.today

Show HN: TwerkOS – A WorkOS Clone. Built on Keycloak

github.com12 points2 comments
Screenshot of Show HN: TwerkOS – A WorkOS Clone. Built on Keycloak

TwerkOS is a self-hosted, Apache-licensed identity platform designed as a stand-in for WorkOS. It combines Keycloak’s authentication and protocol support with Phase Two’s organization and administration features, then adds a WorkOS-compatible API, hosted sign-in bridge, and admin interface. Applications using WorkOS AuthKit or SDKs can connect by changing configuration, and compatibility for documented operations is tested with unchanged Node and Python SDKs. Keycloak realms represent WorkOS environments; users, organizations, memberships, and roles are stored in Keycloak and its extensions, while API keys, sessions, events, and webhook delivery use TwerkOS-managed storage. A Docker-based quickstart demonstrates the admin UI, an OpenID Connect application, and a WorkOS example app.

The project’s case is that teams can retain WorkOS-oriented application code while running identity infrastructure, data, and signing keys themselves, without per-user pricing. It supports standard OpenID Connect, OAuth 2.0 with PKCE, SAML, identity brokering, passkeys, and OTP. A migration tool transfers users, organizations, memberships, roles, and directory users while preserving WorkOS IDs; it can sync changes through webhooks before cutover. Password hashes, API keys, webhook secrets, sessions, and identity-provider secrets cannot be transferred directly: users authenticate once more, credentials and secrets must be replaced, and SSO connections require customer setup. Directory Sync, Audit Logs, Fine-Grained Authorization, and other unspecified operations are not implemented, and the migrator and platform have not yet been tested together end to end.

Read on github.com2 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Show HN: Rust Commander

Show HN: Rust Commander

Rust Commander is a Rust terminal file manager modeled on Midnight Commander, with dual-pane navigation, a persistent shell, archive and remote browsing, and background file operations. Version 0.3.1 adds file-change alerts, viewer copy controls, customizable skins, and faster SFTP previews and copying. (github.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.