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/rich-authorization-requests.md
+69Lines changed: 69 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -323,6 +323,75 @@ access token with the requested authorization details.
323
323
324
324
The client application can now retrieve the user's payment information from the resource server by including the obtained access token in the request.
325
325
326
+
### Sample authorization code grant flow
327
+
328
+
The authorization code grant is a front channel grant that requires user interaction and consent (configurable from the Application's **Advanced** section in Console). This section describes how to use rich authorization requests with the authorization code flow.
329
+
330
+
#### Step 1: Initiate authorization request
331
+
332
+
The client initiates an authorization request to the authorization endpoint with the `authorization_details` parameter. The request includes the url-encoded `payment_initiation` authorization details type.
The user authenticates and provides consent for the requested authorization details. After consent, the authorization server redirects to the specified redirect URI with an authorization code.
0 commit comments