Claviger Docs
Claviger is an open-source backend with passkeys and identity built in. These guides cover it screen by screen and task by task. Pick the group that matches your job.
- Developers and self-hosters run Claviger and connect apps to it.
- Superusers (admin UI) manage the install from the admin screen at
/_/. - Congregation staff are organization owners, registrars, clergy and the care team.
- Members and families use the hosted pages: passkeys, sign-in, consent and household pages.
Every guide uses invented people. Where a decision needs a lawyer, the guide says so. Claviger does not give legal advice.
New here? Watch the walkthroughs. Looking up a setting or an API route? Open the reference.
Developers and self-hosters
- Create a scoped API key and use it — Create an API key limited to some collections, call the records API with it, and revoke it.
- Manage consent purposes and grants through the API — Create consent purposes, record grants and withdrawals, and gate a collection rule on consent.
- Keep the data map and run a personal data export — Register your collections in the data map, find the ones you missed, and request, check and download a personal data export.
- Erase a person's data — Start, confirm, cancel and read a GDPR erasure request, and know what the job keeps.
- Set retention policies and place legal holds — Create retention policies safely, preview them, turn them on, and freeze a person or record with a legal hold.
- Move an install from SQLite to PostgreSQL — Copy an existing SQLite install into an empty PostgreSQL database with
claviger migrate-db, check the copy, and switch over. - Run Claviger on PostgreSQL, with one or several replicas — Point Claviger at a PostgreSQL database, know what changes from SQLite, back it up, and run several replicas.
- Deploy Claviger with a template — Pick one of the four deploy templates, set the secrets, run one instance, and reach it over HTTPS on a stable host name.
- Encrypt backups and keep the key safe — Turn on encrypted backups, restore and decrypt them, and keep the key where you can still reach it.
- Keep the key in Azure Key Vault, AWS KMS or Google Cloud KMS — Keep the key-encryption key in a cloud key service, so it never reaches the server.
- Set the field encryption key and rotate keys — Give the server a key-encryption key, add an encrypted field, and rotate the data keys and the key-encryption key.
- Export traces, metrics and logs, and scrape Prometheus — Send OpenTelemetry traces, metrics and logs to a collector, switch signals off, and enable the Prometheus endpoint.
- Sign in a CLI or TV with the device flow — Let a device with no usable browser get tokens when a person approves a short code on another screen.
- Sign users in to an app with Claviger as the OpenID Connect provider — Register an app such as Grafana or oauth2-proxy as an OpenID Connect client, point it at Claviger, and read the tokens it gets.
- Add passkey sign-in to your app with the API — Turn on passkeys for an auth collection, then register, sign in, list and revoke passkeys over HTTP.
- Set up pastoral notes and read them safely — Create the pastoral notes collection, write notes, seal them, and use the two-person break-glass flow.
- Create and finalize permanent registers — Create a permanent register from the template, finalize entries with a passkey, add annotations, issue certificates and verify the hash chain.
- Connect Microsoft Entra ID or Okta over SCIM — Let Microsoft Entra ID or Okta create, update, deactivate and remove the members of one organization, and keep its groups in step.
- Set up the SMS sender — Connect Twilio or a webhook gateway so Claviger can send transactional text messages, and send a test.
- Run Claviger and sign in for the first time — Start one Claviger instance with Docker, check that it is healthy, and sign in to the admin screen.
- Receive and verify signed webhooks — Create a webhook endpoint, choose its events, verify the signature on each delivery, rotate the secret, and redeliver a failed call.
Superusers (admin UI)
- Set API rules on a collection — Decide who can list, view, create, update and delete the records of a collection.
- Create a collection and add fields — Create a base, view or auth collection, add fields and indexes, and know what is hard to undo.
- Export and import collections — Move the collection definitions from one Claviger environment to another, and review the changes before they apply.
- Find, create and edit records — Search a collection, add and change records, and delete them with care.
- Sign in to the admin screen and find your way — Create the first superuser, sign in, recover a lost password, and learn the header and the settings menu.
- Read the audit log and flag collections for read audit — Find out who changed or read what, and turn on read logging for sensitive collections.
- Define consent purposes and read consent history — Create consent purposes, change their text, and look up what one person agreed to.
- Record, verify, renew and revoke credentials — Record a person's credential, verify it, renew it, revoke it, and see who is cleared.
- Define credential types and gate collections on them — Create the credential types an organization recognizes, and copy the rules that gate a collection on a type.
- Set the limits of the personal data export — Set the file size, download time and request limits of the personal data export, and know what the export holds.
- Review and edit the data map — See which collections hold data about people, and decide what an export and an erasure do with each one.
- Handle data requests and start an erasure — Follow export and erasure requests, set the grace period, cancel an erasure, and start one for a person.
- Place and lift legal holds — Freeze a person or one record against deletion while a legal matter is open, and lift the hold later.
- Create and test retention policies — Write a retention policy, preview what it would do, and turn it on in safe steps.
- Rotate and retire the keys of encrypted fields — Read the key status of every encrypted field, rotate keys, prune retired keys, and move to a new key-encryption key.
- Merge, split and de-duplicate households — Join two households, split one into two, and find people who appear twice.
- Manage households, guardians and minors — Create households, add people, set guardians and mark minors on the Households screen.
- Read and manage the request logs — Search the request logs, read one entry, and set how long and how much Claviger logs.
- Register an OpenID Connect client and manage its secret — Register an application that signs people in through Claviger, copy its secret, and replace it.
- Read and rotate the OpenID Connect signing keys — Check the keys that sign tokens, rotate them, and know when old keys leave.
- Create organizations and build the tree — Create an organization, give it a parent and a kind, and archive or delete it.
- Invite people to an organization — Send, resend and revoke email invitations, and know what the invitee sees.
- Manage members, roles and tags — Add people to an organization, change their role or status, and give them tags.
- Create SCIM tokens and settings for an organization — Create and revoke the SCIM token of an organization, and set how SCIM maps people to roles.
- Move a person between organizations — Understand how a transfer moves one person to another organization, and how to start or follow one through the API.
- Set up staff-vouched recovery — Prepare an install so church staff can vouch for a person and give them a short recovery code.
- Set up and check permanent registers — Create a permanent register, read its entries and marginal notes, withdraw a pending request, and verify the hash chain.
- Application settings — Set the application name and URL, and the audit, proxy, rate limit and superuser IP options.
- Make, schedule, verify and restore backups — Create a backup, schedule automatic backups, check that they restore, encrypt them, and restore one.
- Protect sign-in with a captcha — Pick a captcha provider and choose which sign-in and sign-up actions need it.
- See and run scheduled jobs — List the scheduled jobs on the server and run one by hand.
- Set the limits of the personal data export — Set file size limits, how long a download stays available, and how many exports a person can request.
- Choose where uploaded files are stored — Keep uploaded files on the local disk, or move to S3 compatible storage.
- Mail settings and the test email — Set the sender and the SMTP server, then send a test email.
- Set up the SMS sender in the admin screen — Switch on the SMS sender, choose Twilio or a webhook gateway, and send a test message.
- Create and revoke API keys — Make a scoped API key for a script, see every key, and revoke one.
- Turn on the authenticator app and backup codes — Enrol your superuser account in an authenticator app, save backup codes, and recover when you lose both.
- Impersonate an account to reproduce a problem — Make a short sign-in token for an account, with a recorded reason.
- Turn on passkeys and manage a person's passkeys — Enable passkeys on an auth collection, see an account's passkeys, and remove one or all.
- Review sessions, revoke them and ban an account — See where an account is signed in, end its sessions, ban it, and lift the ban.
- Manage webhook endpoints and deliveries — Add an endpoint, send a test event, read deliveries, redeliver a failed one, and rotate the signing secret.
Congregation staff
- Manage consent purposes for your organization — Add, edit, retire and delete the things people in your organization can agree to, on the hosted consents page.
- Record a paper or staff consent — Record that a person agreed on paper or in person, or withdraw a consent for them, with the evidence reference.
- Add a family and manage guardians — Add a household, add its people, set a guardian, and remove a guardian quickly when you must.
- Use role tags across a diocese — Understand how tags such as registrar, greeter and safeguarding work when organizations are nested in a diocese.
- Invite people to your organization — Send, resend and revoke email invitations from your organization page.
- Manage members, roles and tags on the organization page — Change who is in your organization, what each person may do, and which tags they carry.
- Create and revoke SCIM tokens for your organization — Make the secret token that lets an identity provider keep your member list up to date, and revoke it when needed.
- Move a person to another organization — Start a transfer when a person or a family changes congregation, and know what each side may do.
- Pastoral notes, visibility and break-glass access — Know what each pastoral tag allows, who can read a note, how sealed notes work, and how emergency break-glass access is asked for, approved and announced.
- Issue a recovery code for a person who is locked out — Vouch for a person in front of you and give them a short code so they can set up a new passkey.
- Enter and finalize a register entry — Enter a draft register entry, then finalize it on the registrar page with a passkey check.
- Add a marginal note and print a certificate — Correct or add to a final register entry with a marginal note, and print a certificate page for it.
- Record, verify and revoke a safeguarding credential — Record that a volunteer holds a current background check or training, verify it with a second coordinator, and revoke it when needed.
Members and families
- Larger text, high contrast and language — Make Claviger pages easier to read with larger text and high contrast, use the keyboard, and change the language of a page.
- What you agreed to and how to withdraw — Learn what a consent record is, who can agree for whom, and how to withdraw. Claviger has no hosted page for members yet.
- Ask for a copy of your data — Learn how to get a copy of the data Claviger holds about you, who can ask for it, and what the ZIP file holds.
- Confirm or cancel an erasure of your data — Understand the erasure of your account and data, and use the two pages that the emails link to, to confirm it or to cancel it.
- See and update your household — See the people in your family household, update the details your church keeps, and learn what guardians can do.
- Accept an invitation to join a group — Open the link in your invitation email, sign in or make an account, and join the organization.
- Add, name and remove a passkey — Add a passkey to your phone or computer, give it a name, and remove one you no longer use.
- Sign in with a passkey or another method — Learn the ways you can sign in on Claviger pages, and what each message means.
- Use a recovery code from the church office — Get back into your account with a short code that church staff give you, and set up a new passkey.
- Pick an account and sign out — Choose between accounts on a shared browser, sign out of one or all of them, and read the signed-out page.
- Sign in to an app and say what it may see — Understand the sign-in page and the "Allow access?" screen that an app shows you, and what to do when an error page appears.
- Connect a TV or other device with a code — Type the code a TV, kiosk or other device shows you, and approve or cancel the request.