From Administration → Applications → Register application or the command line:
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 inBoth 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 rolesand the role claimroles— or the same values asSSO_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, orCheckinPlugin::make()in its Filament panel, withCHECKIN_URL,CHECKIN_CLIENT_IDandCHECKIN_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.
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.
