---
title: Rich Authorization Requests
description: Learn how Advanced Identity Cloud supports OAuth 2.0 Rich Authorization Requests (RAR), including the authorization_details parameter, remote consent requirements, and supported grant flows.
component: pingoneaic
page_id: pingoneaic:am-oauth2:oauth2-rich-authorization-requests
canonical_url: https://docs.pingidentity.com/pingoneaic/am-oauth2/oauth2-rich-authorization-requests.html
llms_txt: https://docs.pingidentity.com/pingoneaic/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: 2026-12-04T12:00:00Z
keywords: ["OAuth 2.0", "OpenID Connect (OIDC)", "RAR", "authorization_details", "RFC 9396", "Authorization", "Consent"]
section_ids:
  rar-scopes-and-authorization-details: Scopes and authorization details
  rar-how-am-supports-rar: How Advanced Identity Cloud supports RAR
  rar-supported-flows: Supported flows and endpoints
  rar-requirements: Requirements for RAR
  rar-token-issuance: Tokens with authorization details
  rar-data-flow: How authorization details flow through RAR
  rar-client-configuration: Configure clients for RAR
  rar-example: "Example: Request authorization details for an Open Banking flow"
  rar-limitations: Limitations
---

# Rich Authorization Requests

Rich Authorization Requests (RAR), specified in [RFC 9396: OAuth 2.0 Rich Authorization Requests](https://www.rfc-editor.org/rfc/rfc9396.html), lets clients request fine-grained permissions that scopes alone can't express.

## Scopes and authorization details

In a standard OAuth 2.0 flow, the client requests access with the `scope` parameter. Scopes are static, coarse strings, such as `read` or `write`, that describe broad categories of access. The authorization server grants the token with the scopes, and the resource server decides what those scopes permit.

RAR extends this model with the `authorization_details` parameter. Instead of, or in addition to, coarse scope strings, the client sends a JSON array of structured objects, each describing the specific access the client needs. Unlike scopes, authorization details are structured data that the authorization server and resource server can interpret, and that the remote consent service can enrich during consent.

> **Collapse: Example  array**
>
> ```json
> [
>   {
>     "type": "account_information",
>     "actions": [
>        "list_accounts",
>        "read_balances",
>        "read_transactions"
>     ],
>     "locations": [
>        "https://example.com/accounts"
>     ]
>   }
> ]
> ```

Each object requires a `type` string that names a kind of permission the authorization server recognizes, such as `account_information` or `payment_initiation`. The remaining fields are specific to the type. In the previous example, `actions` and `locations` narrow the request to specific operations on a specific resource.

Use `authorization_details` when coarse scopes aren't precise enough:

* Open Banking and similar ecosystems, where the authorization request must name the exact accounts, transactions, or operations involved.

* Applications that need the resource owner to approve specific actions, rather than a broad category of access.

* Flows where the resource server needs the permission details in a machine-readable form.

The resource server receives the granted `authorization_details` with the access token, so it can enforce the exact permissions the resource owner approved.

## How Advanced Identity Cloud supports RAR

Advanced Identity Cloud supports RAR through the [remote consent](oauth2-remote-consent.html) feature. When a client includes `authorization_details` in an authorization request, Advanced Identity Cloud sends them to the remote consent service, which presents them to the resource owner for approval. Advanced Identity Cloud then issues the consented `authorization_details` in the access token, and in any refresh token issued alongside it.

Advanced Identity Cloud doesn't validate the content of `authorization_details` objects beyond their `type` values. The consent service is responsible for interpreting, enriching, and validating the details of each type.

## Supported flows and endpoints

Clients can request `authorization_details` on the following endpoints, for the [authorization code](oauth2-authz-grant.html) and [implicit](oauth2-implicit-grant.html) grant flows:

* [/oauth2/authorize](oauth2-authorize-endpoint.html)

* [/oauth2/par](oauth2-par-endpoint.html), as part of an [authorization code grant with PAR](oauth2-authz-grant-par.html)

Advanced Identity Cloud ignores `authorization_details` in requests to other grant flow endpoints, including the [/oauth2/device/code](rest-api-oauth2-device-code.html) endpoint for the [device flow](oauth2-device-flow.html).

Don't include `authorization_details` in requests to the [/oauth2/access_token](oauth2-access_token-endpoint.html) endpoint. If RAR is enabled on the provider, Advanced Identity Cloud rejects such requests for the `authorization_code` and `refresh_token` grant types with an `invalid_request` error. If RAR isn't enabled, Advanced Identity Cloud ignores the parameter.

## Requirements for RAR

To use RAR in Advanced Identity Cloud, configure the following:

1. [Enable Remote Consent](../authorization/oauth2-provider-settings.html#enable-remote-consent) on the OAuth 2.0 provider. Without remote consent, Advanced Identity Cloud rejects authorization requests that include `authorization_details` with an `invalid_request` error.

2. [Enable Rich Authorization Requests with RCS](../authorization/oauth2-provider-settings.html#enable-rich-authorization-requests-rcs) on the OAuth 2.0 provider. If this setting isn't enabled, Advanced Identity Cloud ignores `authorization_details` in authorization requests. When it is enabled, Advanced Identity Cloud also:

   * Advertises the `authorization_details_types_supported` metadata parameter in the [OIDC discovery](../am-oidc1/rest-api-oidc-discovery-configuration.html) response.

   * Processes the `authorization_details_types` parameter in [dynamic client registration](../am-oidc1/oauth2-dynamic-client-registration.html#dynamic-registration-authorization-details-types) requests.

3. A remote consent service, configured as described in [Remote consent](oauth2-remote-consent.html). The consent service must support the authorization detail types your clients request.

   If the client can skip consent, Advanced Identity Cloud rejects requests that include `authorization_details` with an `invalid_request` error because RAR requires the resource owner to approve each detail explicitly.

|   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| - | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | * Configure the client with the authorization detail types it can request.

  If an authorize request includes a type the client isn't configured with, Advanced Identity Cloud returns an `invalid_authorization_details` error.

* The consent service can also reject `authorization_details`, for example, when it doesn't support a requested type or policy forbids the request.

  If the consent response signals an `invalid_authorization_details` error, Advanced Identity Cloud returns that error to the client, including any `error_description` and `error_uri` from the consent service. |

## Tokens with authorization details

When the resource owner approves the requested `authorization_details` during remote consent, Advanced Identity Cloud issues them in the access token, and in any refresh token issued alongside it.

|   |                                                                                                                                                                                                                                                                                            |
| - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|   | * Advanced Identity Cloud validates only the `type` of each `authorization_details` object.

  Validation of the other fields in each object is the responsibility of the remote consent service.

* Token introspection returns `authorization_details` only for tokens issued with them. |

The token response includes an `authorization_details` field containing the granted objects.

The following example shows the token response for an access token issued with `authorization_details`:

```json
{
  "access_token": "access-token",
  "refresh_token": "refresh-token",
  "token_type": "Bearer",
  "expires_in": 3600,
  "scope": "read write",
  "authorization_details": [{
      "type": "account_information",
      "actions": [
         "list_accounts",
         "read_balances",
         "read_transactions"
      ],
      "locations": [
         "https://example.com/accounts"
      ]
  }]
}
```

When a client exchanges a refresh token for a new access token, the new access token carries the same `authorization_details` as the original. You can't request different `authorization_details` when exchanging a refresh token.

Resource servers can retrieve the granted `authorization_details` from an access token by calling the [/oauth2/introspect](oauth2-introspect-endpoint.html) endpoint.

|   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| - | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | If RAR is enabled on the provider and the client requests `authorization_details`, Advanced Identity Cloud doesn't require the `scope` parameter in authorization code requests. This includes for pushed authorization requests (PAR). This behavior requires a [scope validation customization](plugins-scope-validation.html) that doesn't mandate scopes. The default behavior handles this automatically. Custom scripts must use the `authorizationDetailsPresent` binding. Learn more in [Scope validation scripting API](../am-scripting/scope-validation-api.html). |

## How authorization details flow through RAR

The following sequence describes the RAR flow in Advanced Identity Cloud:

![The RAR flow in Advanced Identity Cloud](_images/oauth2-rar-flow.svg)Figure 1. RAR flow in Advanced Identity Cloud

1. The client sends an authorization request to the [/oauth2/authorize](oauth2-authorize-endpoint.html) or [/oauth2/par](oauth2-par-endpoint.html) endpoint, including `authorization_details`.

2. Advanced Identity Cloud validates the `type` of each object, and that the client is configured with each requested type.

3. Advanced Identity Cloud sends the `authorization_details` to the remote consent service in the consent request JWT.

4. The remote consent service presents the details to the resource owner, who approves or denies them.

5. The consent service can enrich the details by adding values.

   > **Collapse: Example  enrichment**
   >
   > The client requests the following `authorization_details`:
   >
   > ```json
   > {
   >     "type": "account_information",
   >     "accounts": [],
   >     "locations": [
   >         "https://example.com/accounts"
   >     ]
   > }
   > ```
   >
   > The consent service populates the `accounts` field with the accounts the end user has selected:
   >
   > ```json
   > {
   >     "type": "account_information",
   >     "accounts": [
   >         "account1",
   >         "account2"
   >     ],
   >     "locations": [
   >         "https://example.com/accounts"
   >     ]
   > }
   > ```

6. The consent service returns a consent response JWT containing the approved `authorization_details`.

7. Advanced Identity Cloud verifies the response, and intersects the returned `authorization_details` with the requested ones. Advanced Identity Cloud keeps only the returned objects whose `type` matches a type in the original request.

8. Advanced Identity Cloud issues the access token with the consented `authorization_details`.

9. The client presents the access token to the resource server, which enforces the `authorization_details`.

10. The client returns the protected resource to the resource owner.

Learn more about the consent request and response JWTs in [Remote consent](oauth2-remote-consent.html).

## Configure clients for RAR

This section assumes Advanced Identity Cloud also meets the [Requirements for RAR](#rar-requirements).

To let a client request `authorization_details`, configure the Authorization Detail Type(s) client property with the types the client can request.

Clients can also register their supported types dynamically by including the `authorization_details_types` parameter in [dynamic client registration](../am-oidc1/oauth2-dynamic-client-registration.html#dynamic-registration-authorization-details-types) requests. Each requested type must be one the OAuth 2.0 provider advertises in the `authorization_details_types_supported` metadata parameter, which Advanced Identity Cloud populates from the consent service metadata.

## Example: Request authorization details for an Open Banking flow

The following example shows a typical RAR authorization request for an Open Banking-style use case:

```bash
$ curl \
--request GET \
--data-urlencode "client_id=myClient" \
--data-urlencode "redirect_uri=https://www.example.com:8443/openbanking/callback" \
--data-urlencode "response_type=code" \
--data-urlencode "scope=openid profile" \
--data-urlencode 'authorization_details=[{
    "type": "account_information",
    "actions": [
       "list_accounts",
       "read_balances",
       "read_transactions"
    ],
    "locations": [
       "https://example.com/accounts"
    ]
}]' \
"https://<tenant-env-fqdn>/am/oauth2/realms/root/realms/alpha/authorize"
```

In this example:

* The `type` names the kind of permission; here, read-only access to account information.

* The `actions` and `locations` fields are specific to the `account_information` type, and narrow the request to specific operations on a specific resource.

The consent service decides how to present these details to the resource owner and whether to enrich them.

## Limitations

* RAR is supported in the authorization code and implicit grant flows only. Advanced Identity Cloud ignores `authorization_details` in other grant flows, including the [device flow](oauth2-device-flow.html).

* Clients can't request `authorization_details` at the [/oauth2/access_token](oauth2-access_token-endpoint.html) endpoint. Advanced Identity Cloud returns the granted details stored on the grant instead.

* Advanced Identity Cloud doesn't support RAR with UMA (User-Managed Access).

* The example consent service doesn't support RAR.
