How someone signs in
Every door into the data plane is a row on one screen: Infra > Authentication. The accounts Meerkat holds itself are one of those rows, next to the identity providers and the directories - one list answers "who can prove who they are here".

An authority proves who someone is. It never decides what they may do: a first sign-in produces an account that reaches nothing until an administrator places it in a tenant and grants roles. That half is access control.
Which page do I need?
| You want | Read |
|---|---|
| people to sign in with a password Meerkat keeps | Local accounts |
| your company's single sign-on (Keycloak, Entra ID, Okta, Google...) | OpenID Connect, or SAML 2.0 for ADFS and other SAML providers |
| people to sign in with their Active Directory or LDAP password | LDAP and Active Directory |
| developers to sign in with GitHub | GitHub |
| a stronger sign-in | Two-factor and Passkeys |
| a script or a cron job to call an application | API tokens |
| the application behind a route to know who the user is | Connecting an application |
The five kinds
| Kind | What it is for | On the sign-in page | Edition |
|---|---|---|---|
| Local accounts | accounts Meerkat holds itself, with a password it stores | the username and password form | both |
| OpenID Connect | a company identity provider: Keycloak, Entra ID, Okta, Auth0, Google | a button per provider | both |
| SAML 2.0 | an identity provider that speaks SAML rather than OIDC: ADFS, Entra ID, Okta, Shibboleth | a button per provider | Enterprise |
| Directory | an LDAP directory or an Active Directory, asked straight | no button: it answers the same form | Enterprise |
| GitHub | a GitHub account, restricted to the GitHub organisations you name | a button | both |
Several authorities of the same kind can coexist - two OIDC providers, two directories - each with its own name, its own button and its own policies. The local authority is the exception: there is exactly one, it cannot be created, duplicated or deleted, only disabled.
Turning every authority off is legal and sometimes right: a gateway that serves only public routes lets nobody sign in, and the page says so without saying which door is shut.
What every authority carries
| Field | What it decides |
|---|---|
| Name | what the button on the sign-in page says |
| Identifier | the segment of the sign-in URL, and part of the callback address a provider is given. Frozen after creation |
| Enabled | whether it answers at all: the switch on the authority's row |
| Self-registration | whether a first arrival gets an account here, or is turned away as not invited |
| Exempt from Meerkat's two-factor | whether Meerkat still asks for its own second factor of the people it recognises |
Its connection details - an issuer, a client secret, a server URL, a service account - are per kind, and each of them can be a vault reference rather than the value itself.
The list, and the buttons on the sign-in page, put the local accounts first, then the other authorities in alphabetical order of name. The console has no box to change that order: it is the authority's order field, lowest first, set through the admin API (PUT /api/auth-providers/<id>) or a configuration file.
The order a sign-in runs in
- The first factor. A password typed into the form, a redirect to a provider, a passkey, or a code received by e-mail. For a typed password, the local accounts are asked first; if they say no, each enabled directory is asked in turn, in the order of the list. A wrong password, an unknown username and a disabled account all answer the same sentence.
- A password that must change - temporary, or expired under the policy. The session exists but is stuck on that step, and every navigation lands back on it.
- The second factor, if the account owes one.
- The tenant. None, and the person waits on the waiting page,
/account-pending, until an administrator puts the account in a tenant (Tenants, the tenant, Members; or Application > Members on a single-tenant gateway) and grants it roles. One, and it is stamped on the session silently. Several, and they choose. - The group, in exclusive-group mode when the tenant has more than one.
A passkey answers steps one to three at once: it is treated as both factors, and lands directly on the tenant.
The rule about stacking factors
The authority that recognises the account has the last word on whether Meerkat asks for its own second factor. An authority with Exempt from Meerkat's two-factor ticked means "this provider already challenged them" and Meerkat does not ask again. A new authority starts ticked.
Two points that matter:
- It is a declaration, not a proof. Meerkat does not read the
acroramrclaims a provider may send, so nothing verifies that the provider really asked. Leave the box ticked only where you know it did. - Unticked, the authority does not force a second factor on by itself: Meerkat's rules decide, the account's own setting, then the installation's. To make Meerkat ask its code of everybody who comes through an authority, require two-factor for everyone and untick that authority. See Two-factor.
There is no source column on an account. Which authorities know a person is recorded as links - one per authority and subject - so the same account can be reached through a password, a provider and a directory at once, and someone who signed up locally keeps everything when they move to SSO.
Joining an authority to an existing account
An authority that vouches for an address does not prove that the person in front of it is the one who holds the account here. So a first sign-in through an authority never joins an existing account just because the verified address matches - for every account, root included. The account proves it is theirs first:
- With a mail relay, a six-digit code goes to the account's own address, valid ten minutes and only in that browser. Then the account's second factor is asked, if it has one: authenticator code, passkey, or the paired phone. Only then is the authority joined and the sign-in finished.
- Without a relay, nothing can carry that proof: the page says to sign in with the existing account and connect the authority from the profile, where Meerkat asks the person to confirm it is them first.
The other direction: the applications
Everything above is how a person proves who they are to Meerkat. Telling the applications behind the routes who that person is comes next, and it is a route's setting: headers or a signed JWT on every request, or, for an application that insists on signing its users in itself, Meerkat as its OpenID provider (Enterprise edition). See Connecting an application and Meerkat as an OpenID provider.
Where things are configured
| Screen | What lives there |
|---|---|
| Infra > Authentication | the authorities, their connection details and their policies, and the self-registration default |
| Infra > Mail relay | the relay that confirmation, reset and second-factor mails go through |
| Application > Security | the password policy, the sign-in throttle, two-factor, signing in by e-mail code, trusted browsers, passkeys, personal API tokens, the session lifetime |
| Application > Built-in pages | how the sign-in pages look |
| Application > Users | the accounts themselves, and their per-account overrides |
| Infra > Access tokens, Application > Access tokens | the control-plane tokens, and every person's API tokens, to revoke one. See API tokens |
| Data plane > Sessions | who is signed in to the applications, and ending a session. See Sessions |