Server routes.

The routes the server adds under /auth/ for agents, tokens, claims, OAuth, and devices.

On this page
  1. /auth/admin
  2. /auth/agents
  3. /auth/claims
  4. /auth/device
  5. /auth/leakscan
  6. /auth/oauth
  7. /auth/tokens

15 routes, from the server's OpenAPI document. Every refusal is an RFC 9457 problem; the codes are in the error catalog.

/auth/admin

RouteWhat it does
POST /auth/admin/invites/acceptSpend an admin invitation from tensile-auth-server admin invite, and become an administrator. Needs a second factor within 15 minutesAuth: The __Host-session cookie

/auth/agents

RouteWhat it does
POST /auth/agentsCreate an agentAuth: The __Host-session cookie
GET /auth/agents/treeThe signed-in person's live sessions, as a tree of delegationsAuth: The __Host-session cookie
POST /auth/agents/{id}/delegateGive one of the person's agents a token, shown onceAuth: The __Host-session cookie
POST /auth/agents/{id}/revokeRevoke one of the person's agents and every session it holdsAuth: The __Host-session cookie

/auth/claims

RouteWhat it does
POST /auth/claims/claimClaim an agent that signed up by itselfAuth: The __Host-session cookie
POST /auth/claims/peekShow an unclaimed agent and its pairing words before claiming itAuth: The __Host-session cookie

/auth/device

RouteWhat it does
GET /auth/device/{code}The pending device request for a user code, for the app's device pageAuth: The __Host-session cookie
POST /auth/device/{code}/approveApprove the device request for a user codeAuth: The __Host-session cookie
POST /auth/device/{code}/denyDeny the device request for a user codeAuth: The __Host-session cookie

/auth/leakscan

RouteWhat it does
POST /auth/leakscanReceive a secret-scanning alert in the format of GitHub's partner program, and revoke each leaked session or app key

/auth/oauth

RouteWhat it does
GET /auth/oauth/requests/{id}A pending OAuth authorization request, for the app's consent pageAuth: The __Host-session cookie
POST /auth/oauth/requests/{id}/approveApprove an OAuth authorization request, and answer where to send the browserAuth: The __Host-session cookie
POST /auth/oauth/requests/{id}/denyDeny an OAuth authorization request, and answer where to send the browserAuth: The __Host-session cookie

/auth/tokens

RouteWhat it does
POST /auth/tokensCreate a personal access token, shown onceAuth: The __Host-session cookie