v0.1.0Passkeys, second factors and single sign-on for the whole family

One account.Every app.

Checkin is the sign-in of your organisation, on your own server: one account per person, a passkey or a second factor in front, OpenID Connect behind — for the products of the family, your Laravel apps and every tool that speaks it. With the roles each person has in each application.

git clone https://github.com/andreapollastri/checkin.git && cd checkin && composer run setup

Sign in once. With a passkey. Everywhere.

checkin.example.com/login
Sign in, safelyOne sign-in page for every application of the organisation.
  • One sign-in page for every application of the organisation.
  • A passkey — Touch ID, Face ID, a YubiKey — and no password at all.
  • Or Google, GitHub, Microsoft: for accounts that already exist, never to create one.
  • After a password, the second factor: the authenticator app…
  • …a passkey or a security key of the same account…
  • …or a six-digit code by email, when the phone is not at hand.
  • Each person adds their own: passkeys, the app, codes by email.
  • The launcher: the applications this person may open, and nothing else.
  • One click: Studio signs them in — no second password, no second factor again.
  • A tool someone else runs asks first, once: what it will know about you.
  • Your roles in it travel too, in the roles claim.
  • Roles per application: a default for everyone, and each person’s own.
  • The application maps them onto its own: admin, pm, dev, client…
  • A sign-in from a browser or a place not seen lately: the person hears of it.
  • One click on “This was not me”…
  • …signs the account out everywhere and sends a link for a new password.
  • Wrong passwords lock the account, or the address: twice as long every time.
  • Who is trying, from where, on how many accounts — and what people reported.
  • The overview: people, applications, sign-ins, who has no second factor yet.
  • People: their role, their second factors, the apps they use, a suspension.
  • The audit log: every sign-in, failure, lock, token — and what administrators changed.
  • Filter it, export it. Kept 365 days; a deleted account leaves only a pseudonym.
  • Light or dark, as the person prefers.
Signs you in to
  • Studio
  • Boogle
  • Hackly
  • IndieStats
  • Newsletter
  • Johnny
  • Grafana
  • Gitea
  • any OpenID Connect app
Why

Every app with its own password
is one more door to watch.

A team that runs a handful of tools ends up with a handful of accounts per person, each with its own password, its own second factor — or none — and nobody who knows who signed in where. Checkin is one door: the sign-in happens there, once, the way you decide, and every application trusts it.

“another password to remember?”

One account

People sign in once and open every application they may use from the launcher. Leaving the company is one suspension, not ten.

“what if the password leaks?”

A second factor, always

A passkey, an authenticator app or a code by email after the password — required of administrators, or of everyone. Applications can check it in the token.

“was that really me?”

They hear of it

A sign-in from a new browser, a locked account: an email with a “this was not me” link that closes every session at once.

01 — Signing in

The second factor people already carry

Passkeys and security keys sign in without a password at all, and stand as a second factor after one. The authenticator app works with a QR code and recovery codes; codes by email cover the day the phone stays at home. Each person picks; you decide who must have one.

  • Passkeys — Touch ID, Face ID, Windows Hello, Android, YubiKey
  • Authenticator app — any TOTP app, with recovery codes
  • Codes by email — six digits, ten minutes, this browser only
  • Google, GitHub, Microsoft — optional, for existing accounts
Signing in and security
The second step of a sign-in: a passkey or a security key, the code of the authenticator app, or a code by email
02 — Single sign-on

Standard OpenID Connect, honest tokens

Authorization code with PKCE, discovery, JWKS, UserInfo and logout: any client that speaks OpenID Connect signs people in with Checkin. The ID token says who they are, how they proved it — amr and acr of the sign-in really made — and the roles they have in that application.

  • RS256 tokens with nonce, at_hash, auth_time
  • Open to everyone, or to the people you assign
  • A consent screen for tools other people run
The OpenID Connect reference
checkin — an ID token
~$ curl -s https://checkin.example.com/.well-known/openid-configuration | jq .issuer"https://checkin.example.com"~$ jwt decode $ID_TOKEN{  "sub": "1d6d4b04-85f0-4c4e-9a1f-…",  "aud": "23687a71-747b-5aab-…",  "email": "andrea@example.com",  "amr": ["hwk", "mfa"],  "acr": "urn:checkin:mfa",  "roles": ["admin"]}
03 — Roles

Who is what, in every application

Give each application its default roles, and each person their own: admin here, pm there, nothing at all somewhere else. They travel in the roles claim, and the products of the family map them onto theirs at every sign-in — the last administrator is never demoted.

  • Studio: admin, pm, dev, client — Boogle: admin, member
  • IndieStats: admin, base — Newsletter: administrator, manager, editor
  • Grafana and friends: one line of role mapping
Roles, step by step
An application in Checkin: its client id, discovery URL, launch and redirect addresses, who can sign in, and the roles of each person
04 — Brute force

Locks that grow, emails that arrive

Wrong passwords, codes and passkeys are counted per account and per address. Past the threshold the account is locked — even against the right password — or the address is blocked, and every new lock within a day lasts twice as long. Rate limits sit in front of every step.

  • New device or place: an email with “this was not me”
  • One click signs out everywhere, tokens included
  • Administrators hear of every lock and report
How the protection works
Administration, Security: the accounts locked and the addresses blocked right now, failed attempts by address, sign-ins reported as not theirs
05 — The interface

For people, and for the people who run it

One interface: the launcher and the security settings for everyone, the administration for administrators, in the same sidebar — light or dark.

The Launcher screen of Checkin

The applications a person may open: one click, and they are in.

Quickstart

Five steps, a few minutes

Clone it, set it up, make the signing keys and the first administrator — then connect your first application.

Click the terminal to skip to the end of a step. The full walkthrough is in Installation, production in Production.

checkin — clone
~$ git clone https://github.com/andreapollastri/checkin.git && cd checkinCloning into 'checkin'…Receiving objects: 100% done.

Read the full guide

Questions

Asked before installing

Is Checkin free?

Yes. Checkin is open source under the MIT license. Install it on your own server, for as many people and applications as you like: no price per user, no plan to outgrow.

Which applications can sign in with it?

The products of the family — Boogle, Hackly, IndieStats, Johnny, Newsletter, Studio — out of the box: Single sign-on → Add provider → Checkin. Any other Laravel app with the checkin-client package. And any tool that speaks OpenID Connect: Grafana, Portainer, Gitea and Forgejo, Nextcloud, Proxmox, Outline, MinIO. How to connect each one.

What does a person need to sign in?

A passkey alone — Touch ID, Face ID, Windows Hello, an Android phone, a YubiKey — or a password plus a second factor: the authenticator app, a passkey of the same account, or a six-digit code by email. Administrators must have a second factor; you can ask it of everyone with one setting.

What happens when someone tries passwords?

Every wrong password, code or passkey counts, per account and per address. Past the threshold the account is locked — even against the right password — or the address is blocked, and every new lock lasts twice as long. The person and the administrators get an email; Administration → Security shows the locks and lifts them.

How do roles reach my applications?

You give each person their roles in each application on Checkin — or default roles to everyone. They travel in the roles claim; the application maps them onto its own roles at every sign-in. Roles, step by step.

Is it ready for the GDPR?

It runs on your server and sends nothing anywhere. The audit log keeps what the GDPR asks of a security log and nothing more: entries are deleted after 365 days, addresses can be shortened, secrets never reach it, and a deleted account leaves only a pseudonym behind.

SAML?

No: OpenID Connect only, which every modern self-hosted tool speaks. The design decisions say why, and what it would take.

One account. Every app.

Open source, MIT. One Laravel app, your server, your people.

git clone https://github.com/andreapollastri/checkin.git && cd checkin && composer run setup