You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now there's nowhere to get A2APP_AUTH_TOKEN. The framework offers no method to generate it for human or agent.
It's supposed to be the login token from the app's own sign-in.
No app or toolkit in this repo is multi-user or has a user login. They all use authMode: "none", so there's no token to get and none is needed.
If user build a multi-user app, they would get the token from that app's own sign-in. With a PocketBase backend, for example, that's the token returned by auth-with-password. Human then give it to the agent through A2APP_AUTH_TOKEN or credentials.json.
However, it is not sure how a human obtains it or hands it over to agent. The framework would need to define that.
Only PocketBase reads the user's token; adapter-core and the Go/Python/Rust/Ruby ports never read Authorization (adapters/adapter-core/src/server.ts:477-518).
Every adapter seeds one grant {principal: "owner", scopes: ["*"]}; nothing mints another.
No starter but PocketBase has sign-in; the View is trusted as owner (server.ts:486).
The only token path signs in with a plaintext password from .principal (framework/cli/src/lib/project.ts:169-191), contradicting skills/connect.
Design: the agent never holds the user's session. The user approves the agent in the app (device code, like gh auth login); the app mints a token bound to that user. Allowed = grant scopes ∩ what the user can do now. Hashed at rest, expiring, revocable.
Activity
zfoong commentedon Oct 28, 2026
Today
authMode: "multi-user"is mostly a label:Authorization(adapters/adapter-core/src/server.ts:477-518).{principal: "owner", scopes: ["*"]}; nothing mints another.server.ts:486)..principal(framework/cli/src/lib/project.ts:169-191), contradictingskills/connect.Design: the agent never holds the user's session. The user approves the agent in the app (device code, like
gh auth login); the app mints a token bound to that user. Allowed = grant scopes ∩ what the user can do now. Hashed at rest, expiring, revocable.Order: [1] spec → [2] ceiling, [3] login, [4] connected agents → [5] accounts in starters → [6] bridge task tokens → [7] skills/validate → [8] remove legacy → [9] conformance.