Registering an application

A client id and a secret: then the application signs people in with Checkin.

From Administration → Applications → Register application or the command line:

Terminal
php artisan checkin:client "Boogle" \
    --redirect=https://boogle.example.com/auth/sso/checkin/callback \
    --launch=https://boogle.example.com/auth/sso/checkin \
    --everyone        # optional: otherwise only assigned people may sign in

Both print the client id and the secret (shown once, stored hashed). Then:

  • A product of the family (Boogle, Hackly, IndieStats, Johnny, Newsletter, Studio) has single sign-on built in: Single sign-on → Add provider → Checkin, with Checkin's URL as issuer, the client id and secret, the scopes openid profile email roles and the role claim roles — or the same values as SSO_OIDC_* in its .env.
  • Another Laravel application takes the companion package — composer require andreapollastri/checkin-client, php artisan checkin:install — and <x-checkin-button /> in its login view, or CheckinPlugin::make() in its Filament panel, with CHECKIN_URL, CHECKIN_CLIENT_ID and CHECKIN_CLIENT_SECRET.
  • Any other OpenID Connect client (Grafana, Portainer, Gitea, Nextcloud…) uses the discovery URL https://checkin.example.com/.well-known/openid-configuration.

Step by step, with the roles: docs/integration.md.

Administration → Applications: every application, who may sign in, and its people

Redirect URIs must match exactly (scheme, host, port, path). The launch URL is what the launcher opens, and signs the person straight in: for a product of the family its /auth/sso/checkin (the name of the provider in the product), with the client package the app's /auth/checkin/redirect.