Skip to content

Describing tasks with Rich Authorization Requests

Scopes say what kind of access; authorization_details (RFC 9396) say exactly what for. Identvia shows them on the consent screen and carries them into tokens.

OAuth scopes are coarse by design: email, profile, grants:read. They work well for "what kind of access", and badly for "this specific task". Agents make the gap obvious, because a person approving an agent wants to know what it's about to do, not only which category of permission it gets.

Rich Authorization Requests (RFC 9396) add a structured parameter, authorization_details: a JSON array of objects, each with a type and fields that describe the request.

An example

[{
  "type": "agent_task",
  "actions": ["read", "summarize"],
  "locations": ["https://docs.example.com"],
  "datatypes": ["meeting_notes"],
  "identifier": "weekly-summary"
}]

RFC 9396 defines the common fields actions, locations, datatypes, identifier and privileges; everything else depends on the type.

What Identvia does with it

  • Validates it. Each entry needs a type the administrator has allowed (by default, agent_task), and the whole parameter has a size limit.
  • Shows it. The consent screen gets a Specific request section listing the type and its fields in plain text. A request with authorization details always needs explicit consent, even if the person approved the app before.
  • Carries it. The approved details go into the access token as the authorization_details claim and are returned in the token response, so the API receiving the token can enforce them. They survive refresh, and token exchange can keep or narrow them but never add to them.
  • Advertises it. authorization_details_types_supported in the discovery document lists the allowed types.

What it doesn't do

Identvia shows and carries the details; it doesn't understand your domain. Your API decides what "actions": ["read"] means and must enforce it. Treat the text as written by the client: Identvia escapes it on screen, and people are told it comes from the app.

The delegation guide covers the parameter at the authorization, token-exchange and CIBA endpoints.

More from the blog