Administration

People, applications, roles, the audit log and the locks, day to day.

Everything happens under Administration in the sidebar (/admin/*), with the same session and interface as the rest of Checkin. Only people with role Administrator see it; the first one comes from php artisan checkin:admin or db:seed.

People#

  • Add person — name, e-mail, optional username, role. Leave the password empty to send an invitation: the person receives a link to choose their password (Fortify's reset flow). Tick E-mail verified when you trust the address, otherwise they must confirm it first.
  • Second factor — the list shows the authenticator app (2FA), the number of passkeys and codes by email; the filter finds the people with none. Checkin cannot enrol a passkey for someone: ask them to open Security after their first sign-in. With CHECKIN_REQUIRE_SECOND_FACTOR (admins by default, or everyone) they must add one — app, passkey or codes by email — before anything else. The overview and Security count people without any second factor.
  • Suspend — the person cannot sign in anywhere; their existing sessions last until they expire (Checkin's session lifetime, the apps' sessions). Delete the person to revoke everything at once.
  • Connected accounts — the Google, GitHub or Microsoft identities the person connected (only when a provider is configured, see social-login.md). You can disconnect one (e.g. a stolen Google account); only the person can connect one, from Settings → Security.
  • Assigned applications — the restricted applications this person may use. Applications open to everyone are not listed here.
  • Send password link — re-sends the reset e-mail.
  • You cannot suspend or demote yourself.
People: role, second factors, applications, last sign-in and status of everyone

Applications#

  • Register application — name, description, launch URL, redirect URIs (one per line, exact), trusted, access mode, assigned people. On save you land on the edit page with the client secret shown once, together with the three .env lines to paste.
  • Regenerate secret — invalidates the old one immediately; update the application right after.
  • Disabled — stops every sign-in to that application (invalid_client).
  • Trusted — no consent screen. Keep it on for your own apps; turn it off for tools other people run.
  • Access — Everyone or Assigned people only. The launcher shows a person only the applications they may use.
  • Roles — the default roles of the application and the roles of each person there, comma separated. They travel in the roles claim (scope roles); the application maps them onto its own roles. See oidc.md.
An application: client id, discovery URL, launch and redirect addresses, who can sign in, and the roles

Audit log#

Everything security-relevant, and every change made by an administrator, with who made it (By). Filter by kind (sign-ins and accounts, or administration), event, person or application; Export CSV downloads what the filters show (and is logged too). Entries the person reported as not me are marked.

EventSource
Signed in / Signed outLaravel auth events (method: password, passkey, google, github or microsoft)
Account connected / disconnectedA Google, GitHub or Microsoft identity connected to or removed from a person
Failed sign-in / Locked outwrong credentials / rate limit
2FA enabled / disabled, Passkey added / removedFortify and Passkeys events
Password resetFortify
Token issuedPassport (AccessTokenCreated): a successful sign-in to an application
App access deniedEnsureUserMayUseClient
Second factor failed, Codes by email on / offthe second step (app, passkey, email)
New devicea sign-in from a browser or network not seen in 90 days (the person gets an email)
Account locked / Address blocked / Unblockedbrute-force protection, and an administrator lifting a lock
Reported as not methe person used the link of an email, or Not me in Settings → Security
Person added / changed / suspended / reactivated / deletedPeople pages (the changed fields, never the password)
Application registered / changed / deleted, Secret regeneratedApplications pages (never the secret)
The audit log: sign-ins, tokens issued, second factors and changes, with filters and the CSV export

GDPR: entries older than CHECKIN_AUDIT_RETENTION_DAYS (365) are deleted every night, CHECKIN_AUDIT_MASK_IP=true keeps addresses shortened, and deleting a person replaces their e-mail, address and browser with a pseudonym in every entry about them.

Security#

Brute-force protection at work: the accounts locked and the addresses blocked right now (with Unlock), the failed attempts of the last 24 hours by address, the sign-ins people reported as not theirs, the second-factor policy and the emails sent. Thresholds: CHECKIN_LOCK_* in .env.

Administration → Security: locks in force, failed attempts by address, sign-ins reported as not theirs

Updates#

Updates shows the installed release and the newest one of the channel, with Check now, Update to … and Force update, the channel switch (stable releases or the main branch) and the nightly update toggle. Each update backs up the database and rolls back on failure; the log of the last run is on the page. The scheduler must be running (* * * * * php artisan schedule:run). See the README's Updates section and php artisan app:update.

Routine#

  • passport:purge, model:prune (the audit log) and the updater run from the scheduler (routes/console.php).
  • Watch the overview: failed sign-ins in the last 24 hours, people without a second factor, and the update banner.
The overview: people, applications, sign-ins of the week, people without a second factor, the latest activity