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
Copy file name to clipboardExpand all lines: en/includes/guides/authorization/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,5 +13,5 @@ User impersonation involves granting temporary access to another user's account.
13
13
{% if product_name == "WSO2 Identity Server" and is_version != "7.0.0" %}
14
14
## Rich authorization requests
15
15
16
-
Rich Authorization Requests (RAR) (RFC 9396) enhance authorization mechanisms by allowing clients to specify fine-grained authorization details. Learn how to use it in [Rich Authorization Requests]({{base_path}}/guides/authorization/rich-authorization-requests/).
16
+
Rich Authorization Requests (RAR) ([RFC 9396](https://datatracker.ietf.org/doc/html/rfc9396){:target="_blank"}) enhance authorization mechanisms by allowing clients to specify fine-grained authorization details. Learn how to use it in [Rich Authorization Requests]({{base_path}}/guides/authorization/rich-authorization-requests/).
Rich Authorization Requests (RAR) (RFC 9396) enhance authorization mechanisms by allowing clients to specify fine-grained authorization details in a structured format.
3
+
Rich Authorization Requests (RAR) ([RFC 9396](https://datatracker.ietf.org/doc/html/rfc9396){:target="_blank"}) enhance authorization mechanisms by allowing clients to specify fine-grained authorization details in a structured format.
4
4
This guide outlines how to configure your application for RAR, authorize API resources, customize authorization validation, and obtain tokens with authorization details.
5
5
6
6
## Configuring your application for RAR
@@ -12,8 +12,9 @@ Before using RAR, you need to define the authorization details types that your a
12
12
This involves registering an authorization details types using the [API Resource Management Rest API]({{base_path}}/apis/api-resource-management-rest-api/).
13
13
(The `authorizationDetailsTypes` field in the request payload follows the JSON Schema Draft 2020-12 standard.)
14
14
15
-
The following request registers a new authorization details types named `payment_initiation` for a Payments API
15
+
The following sample request registers a new authorization details types named `payment_initiation` for a Payments API
16
16
and the response contains details of the newly registered API resource and its authorization details types.
17
+
This payload's schema can be referenced as a representation of [Figure 1](https://datatracker.ietf.org/doc/html/rfc9396#figure-1) in the RAR specification.
17
18
18
19
=== "Sample request (/api-resources)"
19
20
@@ -133,19 +134,25 @@ To allow an application to use an API resource with a specific authorization det
133
134
- You need to set the role audience for the created application. [Set the role audience for apps]({{base_path}}/guides/authorization/api-authorization/api-authorization/#set-the-role-audience-for-apps)
134
135
- You can use [Authorized APIs]({{base_path}}/apis/application-rest-api/#tag/Authorized-APIs) to authorize the previously created api resource to the application with authorization details types as shown below.
135
136
136
-
Sample request
137
+
The following request associates the `payment_initiation` authorization details type with the specified application.
137
138
138
-
This request associates the `payment_initiation` authorization details type with the specified application.
providing additional context or information that may be necessary for informed consent. This may include adding more descriptive
181
188
information, default values, or other relevant details that are crucial for the user to understand the authorization request fully.
182
189
190
+
For example, the authorization details displayed in the consent UI can be customized by setting a descriptive sentence as the `description` field of the authorization details instance.
191
+
192
+
??? note "Click to view a sample authorization details processor implementation"
0 commit comments