Components
The user-interface parts that the LumoAuth SDKs give you, rendered on the page with their code, props and theme variables.
Each page shows a component running, then the install command, the code, and a table of its props.
The components come from @lumoauth/react, and Next.js apps get the same components from @lumoauth/nextjs.
Authentication
A sign-in card. By default its button sends the person to your organization's hosted sign-in page.
A card that creates an account. By default its button opens the hosted sign-up page.
The page that the browser returns to after the hosted sign-in. It exchanges the code for tokens and sends the person on.
User
The avatar of the signed-in person, with a menu that opens the account pages and signs out.
The picture of the signed-in person, or the initials when the profile has no picture.
A card with the account of the signed-in person. It shows the name, the email, its verification state and the roles, and a sign-out button.
Access control
Shows its children only when the signed-in person passes an authorization check. The check can be a permission, a relationship or an attribute policy.
Two wrappers that show their children by session state. Use them for a header that changes when a person signs in.
Sends the browser to sign-in when it renders. Put it in the signed-out branch of a page that needs a session.
Buttons and hooks
Hooks for the session. Read whether a person is signed in, get an access token for your API, and start sign-in or sign-out from your own UI.
The signed-in person, from the UserInfo response. Null when nobody is signed in.
Hooks that ask LumoAuth whether the signed-in person may do something, with one hook for each authorization model.
Hooks for a sign-in card of your own. Ask which methods the organization offers, and send a sign-in link by email.
Agent patterns
Patterns are larger pieces for applications in which an AI agent acts for a person: an approval request, the list of things that an agent may do, the chain of agents behind a token. You add a pattern to your project with the shadcn CLI and change it there: it is built from shadcn/ui components and works with both the Base UI and the Radix style. Each pattern names the calls that give it its data.
A card that shows what an agent wants to do, why, and for how long, with Approve and Deny.
A list of the requests that wait for a person, which updates while it is open.
The message that a chat shows while an agent waits for a person: where the request went, and what happened.
One tool call of an agent, with the authorization decision next to it: allowed, needs approval, or refused with the reason.
A badge and a card that say which agent this is, how it proves its identity, and whom it acts for.
What an agent may do, as a list of capabilities in the resource and action form, with a check for each one.
The chain of actors behind a token: the person, the agent that acts for the person, and each sub-agent after it.
The list of outside services that an agent can use for a person, with connect and disconnect for each.
How much of its budget an agent has used: calls, tokens and cost, for the hour, the day and the month.
A control that suspends an agent at once, with a confirmation that says what stops.
A panel that answers "why was this refused?" with the rule that decided and the next step.
A decoded token with its claims explained: audience, scopes, the actor chain and the key that it is bound to.
A side panel that shows the requests of the current flow, the tokens in them, and the docs page for each step.
The code that a person types on another device, with the address to open and the state of the wait.
An MCP server as a card: its address, the scopes it asks for, and whether this client is connected.
What an agent did, in order: tokens, tool calls, approvals and refusals, each with its trace.
A menu that shows the customer organization that a person works in, and lets the person change it.
Hosted pages
LumoAuth serves these pages for you, with your organization's branding. Each entry shows the page and lists what you can change.
The page that signs a person in to your organization, with every method that you turned on.
The page on which a person asks for an account. It takes an email address first, and creates the account after the person opened the link in their inbox.
The pages that ask for a second step at sign-in, and the page on which a person adds one: a passkey, the phone app, an authenticator app or a code.
The page on which a person allows an application to use their account. It names the application and lists, in plain words, what the application will be able to do.
The page on which a person types the code that a TV, a command-line tool or an agent showed them.
The pages on which a person manages their own account: personal details, sign-in methods, devices, the apps and agents that have access, and their privacy choices.
The portal in which the administrators of one of your business customers manage their own members, invitations and roles.
What a person sees on their phone when they sign in with push or when an agent asks for approval, and what the sign-in page shows while it waits.
The messages that LumoAuth sends for your organization: sign-in links, verification, password reset, invitations, codes and security notices.