Personal Agent Protocol
Personal Agent Protocol ("Poppy", version 1.0) defines how a personal agent works with a company for one user. The agent finds the company through a document on the company's domain. It identifies itself and its user on every request, and it signs the user in with OAuth when a task needs the account.
In the protocol's words, your organization is a Company, the agent is a Personal Agent, and the person is the User. LumoAuth is your Company's OAuth issuer, and it does the protocol's identity work for you.
Personal Agent Protocol is part of every plan. It changes nothing until you switch it on under AI Agents → Personal agents. The Admin API for it needs the Admin API of your plan.
This page is about agents of your users that work with your company. To control an OpenClaw or Hermes agent that runs on your own machine, see Secure OpenClaw and Hermes agents.
What LumoAuth does, and what stays with you
| Part of the protocol | Who does it |
|---|---|
The two discovery documents (poppy.json and the protected resource metadata of your domain) | LumoAuth builds them from your settings. You serve them on your own domain. |
| The OAuth issuer: metadata, Direct and Device Sign-In, the consent page, refresh tokens, revocation | LumoAuth |
| The identity of a personal agent: its metadata document, its keys, your allow-list and blocks | LumoAuth |
Verifying the Poppy-Session header and the access token of a request | LumoAuth, through one API call from your API |
| Session records: starting, continuing and ending a Session | LumoAuth |
| The tasks endpoint and the feedback endpoint | LumoAuth hosts them, or you name your own |
| Your APIs and MCP servers, and the scope rules inside them | You. The sample Company shows the pattern. |
| Your company agent and its conversation endpoint | You. List its address in the settings. |
| The browser-session endpoint of your website | You. The sample Company has a complete one. |
Quick start
You need a LumoAuth organization, for example acme-corp at https://app.lumoauth.dev/orgs/acme-corp, and a domain that you control, for example shop.example.com.
1. Switch the protocol on
Open AI Agents → Personal agents in the portal. In Status, switch the protocol on. In Company and domains, add your domain. In Interfaces, list at least one interface: an API, your company agent or your website.
The same change through the Admin API:
curl -X PUT https://app.lumoauth.dev/orgs/acme-corp/api/v1/admin/personal-agent-protocol \
-H "Authorization: ApiKey $LUMO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"enabled": true,
"domains": ["shop.example.com"],
"apis": [
{ "type": "openapi", "url": "https://shop.example.com/openapi.json", "description": "Orders, returns and exchanges" }
]
}'
2. Describe your scopes
In Sign-in, add the scopes that a personal agent may ask for. A personal agent reads each description to choose the scopes that a task needs. A language model often makes that choice, so say what the scope unlocks and which tasks need it.
curl -X PUT https://app.lumoauth.dev/orgs/acme-corp/api/v1/admin/personal-agent-protocol \
-H "Authorization: ApiKey $LUMO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"scopes": {
"orders:read": {
"description": "See your orders and returns. Needed to track an order or to find one to return.",
"changes": "none",
"personal_data": true
},
"orders:write": {
"description": "Exchange or return items. Needed for any change to an order.",
"changes": "irreversible",
"personal_data": true
}
}
}'
changes and personal_data are the protocol's scope hints. Judge each scope by its most serious operation. One operation that cannot be undone makes the whole scope irreversible. Give both hints or neither.
3. Serve the two documents on your domain
LumoAuth builds both documents for each of your domains:
https://app.lumoauth.dev/orgs/acme-corp/api/v1/poppy/documents/shop.example.com/poppy.json
https://app.lumoauth.dev/orgs/acme-corp/api/v1/poppy/documents/shop.example.com/oauth-protected-resource
A personal agent reads them from your domain, at these two addresses:
https://shop.example.com/.well-known/poppy.json
https://shop.example.com/.well-known/oauth-protected-resource
A poppy.json describes the host that serves it. After a redirect to LumoAuth, the document would describe LumoAuth's host and not your company. Serve the documents from your own domain, with a proxy rule or a copy.
Pick the way that fits your website.
nginx
location = /.well-known/poppy.json {
proxy_pass https://app.lumoauth.dev/orgs/acme-corp/api/v1/poppy/documents/shop.example.com/poppy.json;
proxy_set_header Host app.lumoauth.dev;
proxy_ssl_server_name on;
}
location = /.well-known/oauth-protected-resource {
proxy_pass https://app.lumoauth.dev/orgs/acme-corp/api/v1/poppy/documents/shop.example.com/oauth-protected-resource;
proxy_set_header Host app.lumoauth.dev;
proxy_ssl_server_name on;
}
Next.js (next.config.js)
module.exports = {
async rewrites() {
const documents = 'https://app.lumoauth.dev/orgs/acme-corp/api/v1/poppy/documents/shop.example.com';
return [
{ source: '/.well-known/poppy.json', destination: `${documents}/poppy.json` },
{ source: '/.well-known/oauth-protected-resource', destination: `${documents}/oauth-protected-resource` },
];
},
};
Vercel (vercel.json)
{
"rewrites": [
{
"source": "/.well-known/poppy.json",
"destination": "https://app.lumoauth.dev/orgs/acme-corp/api/v1/poppy/documents/shop.example.com/poppy.json"
},
{
"source": "/.well-known/oauth-protected-resource",
"destination": "https://app.lumoauth.dev/orgs/acme-corp/api/v1/poppy/documents/shop.example.com/oauth-protected-resource"
}
]
}
Cloudflare Worker
const DOCUMENTS = 'https://app.lumoauth.dev/orgs/acme-corp/api/v1/poppy/documents/shop.example.com';
const PATHS = {
'/.well-known/poppy.json': 'poppy.json',
'/.well-known/oauth-protected-resource': 'oauth-protected-resource',
};
export default {
async fetch(request) {
const name = PATHS[new URL(request.url).pathname];
return name ? fetch(`${DOCUMENTS}/${name}`) : fetch(request);
},
};
A static copy
curl -o poppy.json \
https://app.lumoauth.dev/orgs/acme-corp/api/v1/poppy/documents/shop.example.com/poppy.json
curl -o oauth-protected-resource.json \
https://app.lumoauth.dev/orgs/acme-corp/api/v1/poppy/documents/shop.example.com/oauth-protected-resource
Serve both files with Content-Type: application/json. Copy them again after each change to the settings.
4. Check the domain
In Company and domains, select Check next to the domain. LumoAuth fetches both documents from your domain, as a personal agent does. It then checks the link between the domain and your issuer from both sides.
curl -X POST https://app.lumoauth.dev/orgs/acme-corp/api/v1/admin/personal-agent-protocol/domains/check \
-H "Authorization: ApiKey $LUMO_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "domain": "shop.example.com" }'
{
"data": {
"domain": "shop.example.com",
"ok": true,
"checks": [
{ "id": "poppy_json.reachable", "ok": true, "level": "error", "message": "https://shop.example.com/.well-known/poppy.json answers with a JSON document." },
{ "id": "poppy_json.domain", "ok": true, "level": "error", "message": "..." },
{ "id": "issuer.protected_resources", "ok": true, "level": "error", "message": "..." }
]
}
}
A failed check of level warning does not make ok false.
5. Let your API verify requests
Your API asks LumoAuth who each request is from. It authenticates as one of your confidential applications. Open that application under Applications and add the scope poppy:verify to its allowed scopes. An application without that scope gets 403 insufficient_scope.
6. Verify a request
A personal agent calls your API with two headers:
GET /api/orders HTTP/1.1
Host: shop.example.com
Poppy-Session: eyJ0eXAiOiJwb3BweS1zZXNzaW9uK2p3dCIs…
Poppy-Version: 1.0
Forward the method, the public URL and those headers:
curl -X POST https://app.lumoauth.dev/orgs/acme-corp/api/v1/poppy/sessions/verify \
-u "$SHOP_API_CLIENT_ID:$SHOP_API_CLIENT_SECRET" \
-H "Content-Type: application/json" \
-d '{
"method": "GET",
"url": "https://shop.example.com/api/orders",
"headers": {
"poppy-session": "eyJ0eXAiOiJwb3BweS1zZXNzaW9uK2p3dCIs…",
"poppy-version": "1.0"
},
"required_scope": "orders:read"
}'
This request is signed out and the operation needs the account. The answer holds the response that you return to the personal agent, unchanged:
{
"active": false,
"error": "account_required",
"error_description": "This operation needs the user's account.",
"scope": "orders:read",
"response": {
"status": 401,
"headers": {
"Cache-Control": "no-store",
"WWW-Authenticate": "Bearer scope=\"orders:read\""
},
"body": null
}
}
The personal agent then signs the user in and sends the request again with an access token. Session verification has every answer and code for Node, Python and PHP.
How a personal agent is identified
A personal agent has no registration with you. Its client_id is the HTTPS address of a metadata document that it publishes, and it authenticates with its own key (private_key_jwt).
{
"client_id": "https://agent.example/agent.json",
"client_name": "Example Agent",
"logo_uri": "https://agent.example/logo.png",
"jwks_uri": "https://agent.example/jwks.json",
"redirect_uris": ["https://agent.example/oauth/callback"],
"token_endpoint_auth_method": "private_key_jwt"
}
LumoAuth fetches that document through Client ID Metadata Documents, so the same rules and controls apply:
- Client ID Metadata Documents must be on. They are on by default. With the switch off, every personal agent is rejected.
- Allowed domains. With a list under
cimd_allowed_domains, only agents on those domains are accepted. An empty list accepts any public HTTPS host. - Block. Under Applications → External clients (CIMD), Block rejects one agent at once. It cannot sign anyone in, and its Session headers are rejected.
- Fetch rules. LumoAuth fetches from public HTTPS addresses only and follows no redirect.
A rejected agent gets invalid_client at the OAuth endpoints and invalid_session at your APIs.
LumoAuth treats a client as a personal agent when it has a metadata document and authenticates with private_key_jwt. A metadata document with token_endpoint_auth_method none, such as an MCP client, is not a personal agent.
Sign-in rules for a personal agent
These rules apply only while the protocol is on and sign-in is offered. Every other client, and every organization that did not switch the protocol on, behaves as before.
| Topic | For a personal agent |
|---|---|
| Scopes that it may request | The identity scopes, plus your Company scopes. poppy:browser-sign-in is added while your settings list a browser-session endpoint. |
scope on a sign-in request | Required. A request without it, or with an unknown scope, gets invalid_scope. |
| Scopes that are granted | Never more than the request named. The response's scope lists them. |
| The consent page | It names the agent and the domain of its client_id. It tells the person to continue only if they just asked for it. |
| Choosing scopes | On the Direct Sign-In page the person can leave scopes out. Approving none is a decline (access_denied). |
| Refresh token | Every sign-in returns one. offline_access is not needed. |
resource | The agent signs in without it. A later token request names one service. See Tokens for one service. |
| Device Sign-In | Off until you switch it on. While it is off, the device endpoint answers unauthorized_client. |
| Sign-in switched off | poppy.json carries auth.disabled: true and no Company scope is offered. Signed-out Sessions keep working. |
| A refresh with the wrong DPoP key | invalid_grant, which tells the agent to continue signed out. |
Everything else is standard OAuth and already applies to every client: PKCE with S256 only, exact matching of redirect_uri, iss in every redirect, Pushed Authorization Requests, rotation of refresh tokens, and revocation. A client assertion must name your issuer as its only aud, signed with ES256 or PS384. See Token endpoint and private_key_jwt.
The consent page
The page starts with a heading such as "Example Agent wants to connect to your Example Shop account". Below it, the page shows the domain that identifies the agent, because the agent chooses its own name. Each scope appears with your description. A scope marked irreversible or personal_data carries a note.
The sign-in page shows the same heading before the person types a credential. The person's account page lists the agent under Authorized apps, with a control to remove its access.
Tokens for one service
A personal agent signs in once, without resource. The user approves scopes, not services. Each later token request then names at most one service:
curl -X POST https://app.lumoauth.dev/orgs/acme-corp/api/v1/oauth/token \
-d grant_type=refresh_token \
-d refresh_token="$REFRESH_TOKEN" \
-d resource=https://mcp.shop.example.com/mcp \
-d client_id=https://agent.example/agent.json \
-d client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer \
-d client_assertion="$CLIENT_ASSERTION"
{
"access_token": "eyJhbGciOi…",
"token_type": "Bearer",
"expires_in": 3600,
"scope": "catalog:search",
"refresh_token": "8f1c…"
}
- Which resources. LumoAuth offers a personal agent
https://{domain}for each of your domains, everymcpentry of yourapis, and every entry ofresources. Any other value getsinvalid_target. - The default token. A request without
resourcereturns the default token. Its audience is the agent'sclient_id. - MCP servers. A registered MCP server is offered only when your settings list it. Listing it is your decision that every approved agent may call it with the granted scopes.
- Fewer scopes. A token for a registered MCP server carries the granted scopes of that server's scope list. The default token leaves out the scopes of a server that requires the resource parameter.
- The refresh token is not narrowed. It keeps the scopes of the sign-in and names no resource.
scopeon a refresh narrows that one access token.
A sign-in that did name resources is limited to them, as Resource indicators describes.
Device Sign-In
Device Sign-In is easier to use for phishing than Direct Sign-In, so it is off by default. Switch it on under Sign-in only when your users' agents cannot receive a browser redirect.
With it on, a personal agent starts at the device authorization endpoint with its client assertion and its scopes. The approval page names the agent and its domain, lists every scope, and asks the person to compare the code. Opening the link approves nothing.
Sessions
A Session is one user's activity at your company through one personal agent. The agent names it on every request with the Poppy-Session header: a JWT that it signs for that one request.
- Start. There is no call to start a Session. The first verified request with a new
sidstarts it, signed out. - Continue. A later request with the same
sidcontinues it. The agent may change its signing key between requests. - Signed in. A request with an access token is signed in for that request. The Session records the account that it used.
- One account. A request with a token for another account gets
session_ended. The agent starts a new Session for the second account. You can lift this rule withsessions.refuse_account_change. - End. You end a Session in the portal, through the Admin API, or from your own service. Its
sidthen getssession_ended, and the agent starts a new one. Ending a Session does not sign the user out. - Idle period. LumoAuth deletes a Session record that nothing used for
sessions.idle_daysdays (30 by default).
The User ID in a Session is the agent's own name for its user at your company. It is stable and it is not an account. Use it to recognize a signed-out visitor across Sessions, and do not show it to other agents.
Session verification explains each check and each answer.
Tasks and feedback
A personal agent can waste time on a task that you do not offer. The tasks endpoint tells it up front, and the feedback endpoint tells you what users wanted and could not do.
With tasks.mode set to hosted, LumoAuth serves the tasks endpoint and lists it in poppy.json:
GET /orgs/acme-corp/api/v1/poppy/tasks HTTP/1.1
Host: app.lumoauth.dev
Poppy-Session: eyJ0eXAiOiJwb3BweS1zZXNzaW9uK2p3dCIs…
Poppy-Version: 1.0
{
"excluded_tasks": [
{ "task": "Close an account" },
{
"task": "Send a wire transfer",
"alternative": {
"instructions": "Wire transfers are sent in the Example app.",
"references": [{ "type": "web", "url": "https://shop.example.com/transfers" }]
}
}
],
"feedback": {
"endpoint": "https://app.lumoauth.dev/orgs/acme-corp/api/v1/poppy/feedback"
}
}
With tasks.feedback set to hosted, LumoAuth also collects the reports:
POST /orgs/acme-corp/api/v1/poppy/feedback HTTP/1.1
Host: app.lumoauth.dev
Poppy-Session: eyJ0eXAiOiJwb3BweS1zZXNzaW9uK2p3dCIs…
Poppy-Version: 1.0
Content-Type: application/json
{
"task": "Pay with a gift card",
"description": "The user wanted to pay with a gift card. Neither the API nor the checkout page takes one."
}
The answer is 202 Accepted with no body. task has at most 200 characters and description at most 2,000. A malformed report gets 400 invalid_request.
Read the reports under Feedback in the portal, or through the Admin API. LumoAuth keeps a report for 180 days.
A personal agent wrote the text of a report, or somebody who controls one. Show it to people as plain text. Never pass it to a language model as instructions.
Both endpoints verify the Session header before they read anything else. Set tasks.mode or tasks.feedback to external to name an endpoint of your own.
Settings reference
The settings are one JSON document. The portal page edits it, and the Admin API reads and writes it. LumoAuth rejects a document as a whole when any part of it is rejected.
| Member | Type | Default | Rule |
|---|---|---|---|
enabled | boolean | false | Switches the protocol on. Needs at least one domain and one interface. |
issuer | string or null | null | null selects the platform issuer. A host selects the issuer of one of your active custom domains. See The Company identifier. |
organization.name | string or null | null | Display name in poppy.json, at most 120 characters. null uses the organization's name. |
organization.logo_uri | string or null | null | An https:// address. |
domains | list of strings | [] | At most 20. A host such as example.com, with a port only when it is not 443. |
sign_in.enabled | boolean | true | false publishes auth.disabled and offers no Company scope. |
sign_in.device | boolean | false | Offers Device Sign-In to personal agents. |
scopes | object | {} | At most 100. Each key is a scope name. Each entry has description (required, at most 500 characters), changes and personal_data. |
scopes.*.changes | string or null | null | none, reversible or irreversible. Give it together with personal_data, or leave both out. |
scopes.*.personal_data | boolean or null | null | Whether an operation of the scope shows or changes personal data. |
resources | list of strings | [] | At most 20 https:// resource identifiers that a personal agent may name on a token request. |
apis | list of objects | [] | At most 20. Each has type (openapi or mcp), url and description. |
agent | list of objects | [] | At most 10 conversation endpoints. Each has type (for example poppy), endpoint, description, and optionally access (session or signed_in). |
web.listed | boolean | false | Lists your website as an interface. |
web.disabled | boolean | false | Asks personal agents not to browse. Needs an API or a company agent, and no browser-session endpoint. |
web.browser_session_endpoint | string or null | null | The https:// address of your browser-session endpoint. |
web.unscoped | boolean | false | Your website does not apply your scopes. Needs a browser-session endpoint. |
tasks.mode | string | off | off, hosted or external. |
tasks.endpoint | string or null | null | Your own tasks endpoint, for external. |
tasks.excluded_tasks | list of objects | [] | At most 100. Each has task (at most 200 characters) and optionally alternative. |
tasks.feedback | string | off | off, hosted or external. Read while tasks.mode is hosted. |
tasks.feedback_endpoint | string or null | null | Your own feedback endpoint, for external. |
tasks.skill_index | object or null | null | An Agent Skills discovery index with $schema and skills (at most 100). |
extensions | object | {} | At most 20. Each key is an extension name. Each value lists one entry for each major version. |
sessions.refuse_account_change | boolean | true | Answers session_ended when a Session's request names a second account. |
sessions.idle_days | integer | 30 | Between 1 and 365. |
More rules:
- Scope names. A Company scope cannot be
offline_accessor a scope of LumoAuth's own API. Names that start withadmin,scim,abac,authz,mfa,jit,mcp,poppyorlumoauthare rejected. poppy:browser-sign-in. LumoAuth offers this scope by itself while you list a browser-session endpoint. Add it toscopesonly to give it your own description. Withweb.unscoped, the description always says that the scope gives the account's full access on the website.- An alternative has
instructions(at most 1,000 characters),references, or both. A reference hastypeopenapi(withurlandoperation_id),mcp(withurlandtool) orweb(withurl). Anopenapiormcpreference must name an API of yourapis. access: signed_inon a conversation endpoint needs sign-in to be offered.- One document for all domains. Every domain gets the same settings. Only
organization.domaindiffers between their documents.
The Company identifier
The Company identifier is the issuer that personal agents use: https://app.lumoauth.dev/orgs/acme-corp/api/v1, or https://auth.example.com when issuer names your custom domain. A Session JWT names it in aud. Your domain's protected resource metadata names it in authorization_servers, and only that issuer's metadata lists your domains in protected_resources.
User IDs and refresh tokens belong to the identifier. After a change, every personal agent treats you as a new company: users get new User IDs and sign in again.
Admin API
GET /orgs/{orgId}/api/v1/admin/personal-agent-protocol
PUT /orgs/{orgId}/api/v1/admin/personal-agent-protocol
POST /orgs/{orgId}/api/v1/admin/personal-agent-protocol/domains/check
GET /orgs/{orgId}/api/v1/admin/personal-agent-protocol/sessions
POST /orgs/{orgId}/api/v1/admin/personal-agent-protocol/sessions/{id}/end
GET /orgs/{orgId}/api/v1/admin/personal-agent-protocol/feedback
The API reference lists the permissions, scopes and response bodies.
Errors that a personal agent gets
| Error | Status | Where | What the personal agent does |
|---|---|---|---|
invalid_session | 400 | JSON body | A check of the Session header failed, or you do not accept the agent. It fixes the cause. A new Session does not help. |
session_ended | 400 | JSON body | It starts a new Session with a new sid and sends the request again, once. |
version_unsupported | 400 | JSON body | Poppy-Version is missing or not compatible with 1.0. It reads poppy.json again. |
| (no code) | 401 | WWW-Authenticate with scope | The operation needs the account. It signs the user in for those scopes. |
invalid_token | 401 | WWW-Authenticate | It refreshes the access token, or continues signed out. |
insufficient_scope | 403 | WWW-Authenticate with scope | It signs the user in again for every scope that it needs. |
too_many_requests | 429 | JSON body, Retry-After | It sends the request again after that time. |
invalid_scope, invalid_target, invalid_client, invalid_grant, unauthorized_client | 400 to 403 | OAuth endpoints | As OAuth defines them. |
Rate limits
| Limit | Value | Counted per |
|---|---|---|
| Requests to the hosted tasks and feedback endpoints | 1,200 per 60 seconds | Client address, before anything is verified |
| New Sessions | 3,000 per hour | Personal agent and organization |
| Feedback reports | 60 per hour | Personal agent and organization |
| Calls to the verification endpoints | 6,000 per 60 seconds | Calling application |
A personal agent is counted only after its Session header verified. Somebody who only names an agent cannot spend that agent's limit.
The audit log
| Event | When |
|---|---|
poppy.settings_updated | The settings changed. The entry holds counts and switches, not the text. |
poppy.domain_checked | Somebody ran the domain check in the portal. |
poppy.session_ended | A Session was ended in the portal, through the Admin API, or by your service. |
poppy.feedback_received | A personal agent sent a feedback report. |
oauth.cimd_client_resolved, oauth.cimd_fetch_failed | A personal agent's metadata document was fetched, or rejected. |
oauth.cimd_client_blocked, oauth.cimd_client_unblocked | An administrator blocked or unblocked an agent. |
oauth.authorization_denied | A person declined on the consent page, or approved no scope. |
oauth.access_token_issued | A sign-in returned an access token. |
consent.revoked | A person removed an agent under Authorized apps. |
Security notes
What LumoAuth checks for you:
- The agent's metadata document and keys, fetched from public HTTPS addresses without redirects.
- The delegation that vouches for the key of each Session JWT, and the JWT's signature.
- The binding of the JWT to the method, the URL and the access token of the request.
- That the access token is active, was issued to the same agent, and may be used at your service.
- Replays of a Session JWT.
What stays your job:
- Apply scopes in your code. Pass
required_scopefor each operation, or checkaccount.scopeyourself. Do the same in your company agent's tools and on your website. - Do not log the headers.
Poppy-Session,AuthorizationandDPoPare secrets. - Send the public URL. Build
urlfrom your configured public origin, not from theHostheader that your server receives. - Keep your services behind the check. A service that another route can reach skips the verification.
- Serve conversations only from your conversation endpoint. Another channel that opens the same conversations may not check the Session header.
- Treat content from agents as data. That covers feedback reports and conversation messages.
- Make writes safe to repeat. A copied Session JWT is rejected by LumoAuth, and an idempotency key protects your own retries.
What is not supported
| Part | Why |
|---|---|
| Mediated Sign-In | With this extension a personal agent collects your users' passwords. LumoAuth rejects the extension in the settings. Offer Direct or Device Sign-In. |
| A hosted company agent or conversation endpoint | The conversation is your product. List your own endpoint under agent. |
| A hosted browser-session endpoint | The endpoint sets your website's cookie, so it belongs to your website. The sample builds one on the verification endpoint. |
| Operator signatures (Web Bot Auth) | They are checked at your edge, before a request reaches your application. A request without one is still valid. |
| Requiring Pushed Authorization Requests from personal agents | Pushed requests are supported and a personal agent may use them. The issuer's metadata keeps require_pushed_authorization_requests at false, because it describes every client. |
| Different settings for each domain | All domains of an organization share one settings document. |
| Serving several protocol versions | LumoAuth serves version 1.0 and accepts every 1.x value in Poppy-Version. |
Conformance at a glance
| Specification | LumoAuth | You |
|---|---|---|
| 3 Discovery | Builds poppy.json and the protected resource metadata. Lists your domains in protected_resources. Checks a domain on request. | Serve both documents on your domain. |
| 3.3 Extensions | Lists the extensions that you configure. Parses Poppy-Extensions and returns it with a verified request. | Build the extensions that you list. |
| 3.4 Versions | Checks Poppy-Version and answers version_unsupported. | Nothing. |
| 4.1 Agent identity | Metadata documents, private_key_jwt, the single-issuer aud rule, ES256 and PS384. | Decide which agents you accept. |
| 4.2 Direct Sign-In | Authorization code with PKCE, iss, prompt=consent, PAR, the consent page. | Nothing. |
| 4.3 Device Sign-In | The device grant for personal agents, when you switch it on. | Decide whether to offer it. |
| 4.4, 4.6 Refresh and revocation | A refresh token from every sign-in, bound to its DPoP key, rotation, revocation with cascade. | Nothing. |
| 4.5 Access tokens | One sign-in for every offered resource, resource on token requests, invalid_target. | List the resources that personal agents may name. Check the audience in a service that takes only its own tokens. |
| 4.7 Scopes | Scope required, none beyond the request, descriptions and hints in poppy.json, a choice for each scope on the consent page. | Write the descriptions. Apply the scopes in your APIs. |
| 5 Sessions | Verifies the Session header and keeps the Session records. | Call the verification endpoint. Keep your own state by session.id. |
| 6 Web browsing | Offers poppy:browser-sign-in. Verifies the authorize step through the verification endpoint. Tells your website whether a joined Session is still signed in (Look up a Session). | Build the browser-session endpoint and the cookie. |
| 7 APIs | Builds the 401 and 403 challenges. | Build the APIs and relay the answers. |
| 8 Conversations | Not applicable. | Build the conversation endpoint. Verify each request. |
| 9 Task coverage | Hosts the tasks endpoint and the feedback endpoint. | Write the excluded tasks. Read the reports. |
| 10 Security considerations | Audience separation for each organization, no secrets in logs, the checks above. | The list under Security notes. |
Related
- Session verification: the endpoint that your APIs call
- Sample Company and test personal agent
- Admin API reference
- Client ID Metadata Documents
- Device authorization · Resource indicators · Token endpoint · private_key_jwt
- Personal Agent Protocol 1.0 specification and its guides