Koinony

Moving from authentik

Running authentik and finding it heavy to run and to change? Koinony is built to take its place on the same host name, so your people sign in as before and your apps need no changes.

authentik is the first, and for now the only, source Koinony imports from. Others may follow on request.

Lighter to run: authentik asks for at least 2 CPU cores and 2 GB of memory, plus PostgreSQL and a worker; Koinony runs on a free-tier VM with 1 GB, with its database included.

What comes across

From authentikIn Koinony
UsersPeople, keeping the user id your apps see, so nobody becomes a new person in any app
Social connectionsLinked LINE, Google, Discord and Microsoft sign-ins, with profile pictures
PasskeysThe same passkeys: people unlock with their phone or PC as before
Groups and their parentsNested groups with memberships and roles
Invitation linksInvitations that keep working at their old addresses Working
OAuth2 / OpenID Connect appsApps with the same client ids, secrets and redirect addresses
Signing keysThe same keys and key ids, so tokens apps cached stay valid
Social login app settingsSign-in buttons with the same callback addresses, so nothing changes at LINE, Google or Discord

Not carried over: open browser sessions (everyone signs in once more) and refresh tokens (issued again at the next sign-in).

Apps keep working

A compatibility mode answers on the paths your apps already use (/application/o/…): per-app discovery documents and key sets, the authorize, token, user info and sign-out endpoints, and social callbacks. Claims come in the same shape as before, with simple per-app rules for anything custom.

How a switch goes

  1. Export

    Take a PostgreSQL dump of authentik. Koinony reads the dump, never the live system.

  2. Import and compare

    Import into a Koinony test instance and compare the tokens it issues with authentik's, claim by claim, for the same people and apps.

  3. Switch the host name

    Point the host name at Koinony. People sign in once; apps carry on.

  4. Keep the way back

    Keep authentik stopped but intact until you are sure; switching the host name back is the rollback.

Migration is on the roadmap right after single sign-on. Importing invitation links already works in the prototype.