Customers and teams
Customer sign-in
This is the first screen a customer or teammate hits. They already have an account. They arrive on a public route of your product — the same origin that serves the rest of the app — and sign in with email and password, or with a passkey.
A session cookie is set on your origin, HttpOnly, so JavaScript never sees a token. Your app simply learns who signed in and can send them into the product.
Create an account
A new person wants in. Your organization may allow anyone with an email, or only people who received an invite. This is the same provider as sign-in — you do not stand up a second user store.
They leave with their own credential and can sign in next time. If policy is invite-only, the form asks for the invite instead of opening the door to strangers.
Accept an invitation
Someone on the team sent an invite. The recipient opens the link from email. They might be brand new to your product, or already signed in on another organization.
They become a member of that organization. New people create a password here. People who already have a session simply join — no second registration.
Confirm with a second factor
The password was accepted. Before you open the product, you still need the six-digit code from their authenticator. This is that pause — a dedicated challenge, not a settings page buried in the app.
A valid code continues the session and they land in the product. A wrong or missing code stays on this screen with a clear error, and the session is not opened.
Manage sign-in methods
The customer is already signed in. They want to see how they can get back in next time — password, passkeys — and they want to revoke something that was stolen, without opening a support ticket.
They see every factor that can sign them in, can add an authenticator, and can cut a compromised credential immediately.
Organization
Invite teammates
You are signed in as an organization admin. A colleague needs access. You type their email, pick a role, and send. You are not syncing a second user directory — they will join this organization.
A pending invitation appears. They open the link, join, and show up as a member. You can see what is still outstanding.
Roles and permissions
Admins need more than a member list. They need named roles — who can invite, who can change billing, who can only read — so the rest of the product can hide or show screens without a homemade permission matrix.
A catalog of roles and permissions the app can gate on. You assign a role to a person later; you do not rebuild IAM for each feature.
Protect a screen
Plans, billing, operator tools — some screens must not render for a plain member. After sign-in the session already knows their roles. You wrap the screen instead of checking a token in the browser.
People with the role see the screen. Everyone else sees the fallback you provide. No access token is ever read from JavaScript.
Teams
Not every grant is for one person. A support shift, a region, a product squad — you want to grant a role to a group once, then add and remove people without retouching every permission.
A team exists as a subject. Members can be added. Roles granted to the team apply to whoever is in it.
Who can join
Some products are open to anyone with an email. Some only accept invited domains. Some are closed while you are in beta. This is the admin control for that — the public sign-up screen reads it.
Sign-up in the product matches this policy: open, invite-only, or closed. You change it here, not in a one-off form fork.
Authentication policy
You decide how strong sign-in must be for this organization — passkey, authenticator app, grace for new members — before the rule applies to everyone. Draft it, validate it, then turn it on.
A policy you can inspect before it ships. Impossible combinations are rejected instead of locking people out by accident.
Services and workloads
Service identities
A backend or a batch job needs to authenticate as itself — not as the person who deployed it, and not as a short-lived agent token. This is the standing machine identity you rotate when a key leaks.
A service account with credentials you can issue and rotate. It counts as one monthly active identity. Delegated agent tokens derived from it do not.
Running workloads
You need to see which workloads are live in this organization, in which environment, and which certificates they were issued — without wiring your own inventory poller.
A live, read-only view of runtimes and certificate projections. Your app does not choreograph discovery, refresh, or paging.