-
Notifications
You must be signed in to change notification settings - Fork 5
/
rfc9396.xml
1433 lines (1306 loc) · 68.2 KB
/
rfc9396.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rfc [
<!ENTITY nbsp " ">
<!ENTITY zwsp "​">
<!ENTITY nbhy "‑">
<!ENTITY wj "⁠">
]>
<rfc version="3" ipr="trust200902" docName="draft-ietf-oauth-rar-23" number="9396" submissionType="IETF" category="std" consensus="true" xml:lang="en" xmlns:xi="http://www.w3.org/2001/XInclude" tocInclude="true" sortRefs="true" symRefs="true" updates="" obsoletes="" indexInclude="true">
<front>
<title abbrev="OAuth-RAR">OAuth 2.0 Rich Authorization Requests</title>
<seriesInfo name="RFC" value="9396"/>
<author initials="T." surname="Lodderstedt" fullname="Torsten Lodderstedt">
<organization>yes.com</organization><address><postal><street></street>
</postal><email>torsten@lodderstedt.net</email></address></author>
<author initials="J." surname="Richer" fullname="Justin Richer">
<organization>Bespoke Engineering</organization><address><postal><street></street>
</postal><email>ietf@justin.richer.org</email></address></author>
<author initials="B." surname="Campbell" fullname="Brian Campbell">
<organization>Ping Identity</organization><address><postal><street></street>
</postal><email>bcampbell@pingidentity.com</email></address></author>
<date year="2023" month="May" />
<area>sec</area>
<workgroup>oauth</workgroup>
<keyword>security</keyword>
<keyword>oauth2</keyword>
<abstract>
<t>This document specifies a new parameter <tt>authorization_details</tt> that is
used to carry fine-grained authorization data in OAuth messages.</t>
</abstract>
</front>
<middle>
<section anchor="Introduction"><name>Introduction</name>
<t>"The OAuth 2.0 Authorization Framework" <xref target="RFC6749"></xref> defines the <tt>scope</tt> parameter that allows OAuth clients to
specify the requested scope, i.e., the limited capability, of an access token.
This mechanism is sufficient to implement static scenarios and
coarse-grained authorization requests, such as "give me read access to
the resource owner's profile." However, it is not sufficient to specify
fine-grained authorization requirements, such as "please let me transfer an amount of 45 Euros to Merchant A"
or "please give me read access to directory A and write access to file X."</t>
<t>This specification introduces a new parameter <tt>authorization_details</tt> that allows clients to specify their fine-grained authorization requirements using the expressiveness of JSON <xref target="RFC8259"></xref> data structures.</t>
<t>For example, an authorization request for a credit transfer (designated as "payment initiation" in several open banking initiatives) can be represented using a JSON object like this:</t>
<figure><name>Example of an Authorization Request for a Credit Transfer
</name>
<sourcecode type="json">{
"type": "payment_initiation",
"locations": [
"https://example.com/payments"
],
"instructedAmount": {
"currency": "EUR",
"amount": "123.50"
},
"creditorName": "Merchant A",
"creditorAccount": {
"bic":"ABCIDEFFXXX",
"iban": "DE02100100109307118603"
},
"remittanceInformationUnstructured": "Ref Number Merchant"
}
</sourcecode>
</figure>
<t>This object contains detailed information about the intended payment, such as amount, currency, and creditor, that is required to inform the user and obtain their consent. The authorization server (AS) and the respective resource server (RS) (providing the payment initiation API) will together enforce this consent.</t>
<t>For a comprehensive discussion of the challenges arising from new use cases in the open banking and electronic signing spaces, see <xref target="Transaction-Auth"></xref>.</t>
<t>In addition to facilitating custom authorization requests, this specification also introduces a set of common data type fields for use across different APIs.</t>
<section anchor="conventions-and-terminology"><name>Conventions and Terminology</name>
<t>
The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL
NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
"<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as
described in BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/>
when, and only when, they appear in all capitals, as shown here.
</t>
<t>This specification uses the terms "access token", "refresh token",
"authorization server" (AS), "resource server" (RS), "authorization endpoint",
"authorization request", "authorization response", "token endpoint",
"grant type", "access token request", "access token response", and
"client" defined by "<xref target="RFC6749" format="title"/>" <xref target="RFC6749" format="default"/>.</t>
</section>
</section>
<section anchor="authz_details"><name>Request Parameter "authorization_details"</name>
<t>The request parameter <tt>authorization_details</tt> contains, in JSON notation, an array of objects. Each JSON object contains the data to specify the authorization requirements for a certain type of resource. The type of resource or access requirement is determined by the <tt>type</tt> field, which is defined as follows:</t>
<dl spacing="normal">
<dt><tt>type</tt>:</dt>
<dd>An identifier for the authorization details type as a string. The value of the <tt>type</tt> field determines the allowable contents of the object that contains it. The value is unique for the described API in the context of the AS. This field is <bcp14>REQUIRED</bcp14>.</dd>
</dl>
<t>An <tt>authorization_details</tt> array <bcp14>MAY</bcp14> contain multiple entries of the same <tt>type</tt>.</t>
<t><xref target="figure2"></xref> shows an <tt>authorization_details</tt> of type <tt>payment_initiation</tt> using the example data shown above:</t>
<figure anchor="figure2"><name>Example of "authorization_details" for a Credit Transfer
</name>
<sourcecode type="json">[
{
"type": "payment_initiation",
"actions": [
"initiate",
"status",
"cancel"
],
"locations": [
"https://example.com/payments"
],
"instructedAmount": {
"currency": "EUR",
"amount": "123.50"
},
"creditorName": "Merchant A",
"creditorAccount": {
"iban": "DE02100100109307118603"
},
"remittanceInformationUnstructured": "Ref Number Merchant"
}
]
</sourcecode>
</figure>
<t><xref target="figure3"></xref> shows a combined request asking for access to account information and permission to initiate a payment:</t>
<figure anchor="figure3"><name>Example of "authorization_details" for a Combined Request
</name>
<sourcecode type="json">[
{
"type": "account_information",
"actions": [
"list_accounts",
"read_balances",
"read_transactions"
],
"locations": [
"https://example.com/accounts"
]
},
{
"type": "payment_initiation",
"actions": [
"initiate",
"status",
"cancel"
],
"locations": [
"https://example.com/payments"
],
"instructedAmount": {
"currency": "EUR",
"amount": "123.50"
},
"creditorName": "Merchant A",
"creditorAccount": {
"iban": "DE02100100109307118603"
},
"remittanceInformationUnstructured": "Ref Number Merchant"
}
]
</sourcecode>
</figure>
<t>The JSON objects with <tt>type</tt> fields of <tt>account_information</tt> and <tt>payment_initiation</tt> represent the different <tt>authorization_details</tt> to be used by the AS to ask for consent.</t>
<aside><t>Note: The AS will make this data subsequently available to the respective RSs (see <xref target="resource_servers"></xref>).</t></aside>
<section anchor="authorization-details-types"><name>Authorization Details Types</name>
<t>The AS controls the interpretation of the value of the <tt>type</tt> parameter as well as the object fields that the <tt>type</tt> parameter allows. However, the value of the <tt>type</tt> parameter is also generally documented and intended to be used by developers. It is <bcp14>RECOMMENDED</bcp14> that API designers choose <tt>type</tt> values that are easily copied without ambiguity. For example, some glyphs have multiple Unicode code points for the same visual character, and a developer could potentially type a different character than what the AS has defined. Possible means of reducing potential confusion are limiting the value to ASCII <xref target="RFC0020"></xref> characters, providing a machine-readable listing of data type values, or instructing developers to copy and paste directly from the documentation.</t>
<t>If an application or API is expected to be deployed across different servers, such as the case in an open standard, the API designer is <bcp14>RECOMMENDED</bcp14> to use a collision-resistant namespace under their control, such as a URI that the API designer controls.</t>
<t>The following example shows how an implementation could utilize the namespace <tt>https://scheme.example.org/</tt> to ensure collision-resistant type values.</t>
<figure><name>Example of "authorization_details" with a URL as Type Identifier
</name>
<sourcecode type="json">{
"type": "https://scheme.example.org/files",
"locations": [
"https://example.com/files"
],
"permissions": [
{
"path": "/myfiles/A",
"access": [
"read"
]
},
{
"path": "/myfiles/A/X",
"access": [
"read",
"write"
]
}
]
}
</sourcecode>
</figure>
</section>
<section anchor="common_data_fields"><name>Common Data Fields</name>
<t>This specification defines a set of common data fields that are designed to be usable across different types of APIs. This specification does not require the use of these common fields by an API definition but, instead, provides them as reusable generic components for API designers to make use of. The allowable values of all fields are determined by the API being protected, as defined by a particular "type" value.</t>
<dl spacing="normal">
<dt><tt>locations</tt>:</dt>
<dd>An array of strings representing the location of the resource or RS. These strings are typically URIs identifying the
location of the RS. This field can allow a client to specify a particular RS, as discussed in <xref target="security_considerations"></xref>.</dd>
<dt><tt>actions</tt>:</dt>
<dd>An array of strings representing the kinds of actions to be taken at the resource.</dd>
<dt><tt>datatypes</tt>:</dt>
<dd>An array of strings representing the kinds of data being requested from the resource.</dd>
<dt><tt>identifier</tt>:</dt>
<dd>A string identifier indicating a specific resource available at the API.</dd>
<dt><tt>privileges</tt>:</dt>
<dd>An array of strings representing the types or levels of privilege being requested at the resource.</dd>
</dl>
<t>When different common data fields are used in combination, the permissions the client requests are the product of all the values.
The object represents a request for all <tt>actions</tt> values listed within the object
to be used at all <tt>locations</tt> values listed within the object for all <tt>datatypes</tt>
values listed within the object. In the following example, the client is requesting <tt>read</tt> and <tt>write</tt>
access to both the <tt>contacts</tt> and <tt>photos</tt> belonging to customers in a <tt>customer_information</tt> API.
If this request is granted, the client
would assume it would be able to use any combination of rights
defined by the API, such as read access to the photos and write
access to the contacts.</t>
<figure><name>Example of "authorization_details" with Common Data Fields
</name>
<sourcecode type="json">[
{
"type": "customer_information",
"locations": [
"https://example.com/customers"
],
"actions": [
"read",
"write"
],
"datatypes": [
"contacts",
"photos"
]
}
]
</sourcecode>
</figure>
<t>If the client wishes to have finer control over its access, it can send multiple objects. In this example,
the client is asking for <tt>read</tt> access to the <tt>contacts</tt> and <tt>write</tt> access to the <tt>photos</tt> in the same API endpoint.
If this request is granted, the client would not be able to write to the contacts.</t>
<figure><name>Example of "authorization_details" with Common Data Fields in Multiple Objects
</name>
<sourcecode type="json">[
{
"type": "customer_information",
"locations": [
"https://example.com/customers"
],
"actions": [
"read"
],
"datatypes": [
"contacts"
]
},
{
"type": "customer_information",
"locations": [
"https://example.com/customers"
],
"actions": [
"write"
],
"datatypes": [
"photos"
]
}
]
</sourcecode>
</figure>
<t>An API <bcp14>MAY</bcp14> define its own extensions, subject to the <tt>type</tt> of the respective authorization object.
It is anticipated that API designers will use a combination
of common data fields defined in this specification as well as
fields specific to the API itself. The following non-normative
example shows the use of both common and API-specific fields as
part of two different fictitious API <tt>type</tt> values. The first
access request includes the <tt>actions</tt>, <tt>locations</tt>, and <tt>datatypes</tt>
fields specified here as well as the API-specific <tt>geolocation</tt>
field, indicating access to photos taken at the given coordinates.
The second access request includes the <tt>actions</tt> and
<tt>identifier</tt> fields specified here as well as the API-specific
<tt>currency</tt> fields.</t>
<figure><name>Example of "authorization_details" Using Common and Extension Data Fields</name>
<sourcecode type="json">[
{
"type":"photo-api",
"actions":[
"read",
"write"
],
"locations":[
"https://server.example.net/",
"https://resource.local/other"
],
"datatypes":[
"metadata",
"images"
],
"geolocation":[
{
"lat":-32.364,
"lng":153.207
},
{
"lat":-35.364,
"lng":158.207
}
]
},
{
"type":"financial-transaction",
"actions":[
"withdraw"
],
"identifier":"account-14-32-32-3",
"currency":"USD"
}
]
</sourcecode>
</figure>
<t>If this request is approved, the resulting access token's access rights will be
the union of the requested types of access for each of the two APIs, just as above.</t>
</section>
</section>
<section anchor="authz_request"><name>Authorization Request</name>
<t>The <tt>authorization_details</tt> authorization request parameter can be used to specify authorization requirements in all places where the <tt>scope</tt> parameter is used for the same purpose, examples include:</t>
<ul spacing="normal">
<li>authorization requests as specified in <xref target="RFC6749"></xref></li>
<li>device authorization requests as specified in <xref target="RFC8628"></xref></li>
<li>backchannel authentication requests as defined in <xref target="OID-CIBA"></xref></li>
</ul>
<t>In case of authorization requests as defined in <xref target="RFC6749"></xref>, implementers <bcp14>MAY</bcp14> consider using pushed authorization requests <xref target="RFC9126"></xref> to improve the security, privacy, and reliability of the flow. See Sections <xref target="security_considerations" format="counter"></xref>, <xref target="privacy_considerations" format="counter"></xref>, and <xref target="large_requests" format="counter"></xref> for details.</t>
<t>Parameter encoding is determined by the respective context. In the context of an authorization request according to <xref target="RFC6749"></xref>, the parameter is encoded using the <tt>application/x-www-form-urlencoded</tt> format of the serialized JSON as shown in <xref target="fig8" format="default"/>, using the example from <xref target="authz_details"></xref> (line breaks for display purposes only):</t>
<figure anchor="fig8"><name>Example of Authorization Request with "authorization_details"</name>
<sourcecode type="http-message"><![CDATA[
GET /authorize?response_type=code
&client_id=s6BhdRkqt3
&state=af0ifjsldkj
&redirect_uri=https%3A%2F%2Fclient.example.org%2Fcb
&code_challenge_method=S256
&code_challenge=K2-ltc83acc4h0c9w6ESC_rEMTJ3bwc-uCHaoeK1t8U
&authorization_details=%5B%7B%22type%22%3A%22account%5Finfo
rmation%22%2C%22actions%22%3A%5B%22list%5Faccounts%22%2C%22
read%5Fbalances%22%2C%22read%5Ftransactions%22%5D%2C%22loca
tions%22%3A%5B%22https%3A%2F%2Fexample%2Ecom%2Faccounts%22%
5D%7D%2C%7B%22type%22%3A%22payment%5Finitiation%22%2C%22act
ions%22%3A%5B%22initiate%22%2C%22status%22%2C%22cancel%22%5
D%2C%22locations%22%3A%5B%22https%3A%2F%2Fexample%2Ecom%2Fp
ayments%22%5D%2C%22instructedAmount%22%3A%7B%22currency%22%
3A%22EUR%22%2C%22amount%22%3A%22123%2E50%22%7D%2C%22credito
rName%22%3A%22Merchant%20A%22%2C%22creditorAccount%22%3A%7B
%22iban%22%3A%22DE02100100109307118603%22%7D%2C%22remittanc
eInformationUnstructured%22%3A%22Ref%20Number%20Merchant%22
%7D%5D HTTP/1.1
Host: server.example.com
]]></sourcecode>
</figure>
<t>Based on the data provided in the <tt>authorization_details</tt> parameter, the AS will ask the user for consent to the requested access permissions.</t>
<aside><t>Note: The user may also grant a subset of the requested authorization details.</t></aside>
<t>In <xref target="fig9" format="default"/>, the client wants to get access to account information and initiate a payment:</t>
<figure anchor="fig9"><name>URL Decoded "authorization_details"</name>
<sourcecode type="json">[
{
"type": "account_information",
"actions": [
"list_accounts",
"read_balances",
"read_transactions"
],
"locations": [
"https://example.com/accounts"
]
},
{
"type": "payment_initiation",
"actions": [
"initiate",
"status",
"cancel"
],
"locations": [
"https://example.com/payments"
],
"instructedAmount": {
"currency": "EUR",
"amount": "123.50"
},
"creditorName": "Merchant A",
"creditorAccount": {
"iban": "DE02100100109307118603"
},
"remittanceInformationUnstructured": "Ref Number Merchant"
}
]
</sourcecode>
</figure>
<section anchor="scope"><name>Relationship to the "scope" Parameter</name>
<t><tt>authorization_details</tt> and <tt>scope</tt> can be used in the same authorization request for carrying independent authorization requirements.</t>
<t>Combined use of <tt>authorization_details</tt> and <tt>scope</tt> is supported by this specification in part to allow existing OAuth-based applications to incrementally migrate towards using <tt>authorization_details</tt> exclusively. It is <bcp14>RECOMMENDED</bcp14> that a given API use only one form of requirement specification.</t>
<t>The AS <bcp14>MUST</bcp14> process both sets of requirements in combination with each other for the given authorization request. The details of how the AS combines these parameters are specific to the APIs being protected and outside the scope of this specification.</t>
<t>When gathering user consent, the AS <bcp14>MUST</bcp14> present the merged set of requirements represented by the authorization request.</t>
<t>If the resource owner grants the client the requested access, the AS will issue tokens to the client that are associated with the respective <tt>authorization_details</tt> (and scope values, if applicable).</t>
</section>
<section anchor="relationship-to-resource-parameter"><name>Relationship to the "resource" Parameter</name>
<t>The <tt>resource</tt> authorization request parameter, as defined in <xref target="RFC8707"></xref>, can be used to further determine the resources where the requested scope can be applied. The <tt>resource</tt> parameter does not have any impact on the way the AS processes the <tt>authorization_details</tt> authorization request parameter.</t>
</section>
</section>
<section anchor="authorization-response"><name>Authorization Response</name>
<t>This specification does not define extensions to the authorization response.</t>
</section>
<section anchor="authz_details_error"><name>Authorization Error Response</name>
<t>The AS <bcp14>MUST</bcp14> refuse to process any unknown authorization details type or authorization details not conforming to the respective type definition. The AS <bcp14>MUST</bcp14> abort processing and respond with an error <tt>invalid_authorization_details</tt> to the client if any of the following are true of the objects in the <tt>authorization_details</tt> structure:</t>
<ul spacing="normal">
<li>contains an unknown authorization details type value,</li>
<li>is an object of known type but containing unknown fields,</li>
<li>contains fields of the wrong type for the authorization details type,</li>
<li>contains fields with invalid values for the authorization details type, or</li>
<li>is missing required fields for the authorization details type.</li>
</ul>
</section>
<section anchor="token-request"><name>Token Request</name>
<t>The <tt>authorization_details</tt> token request parameter can be used to specify the authorization details that a client wants the AS to assign to an access token. The AS checks whether the underlying grant (in case of grant types <tt>authorization_code</tt>, <tt>refresh_token</tt>, etc.) or the client's policy (in case of grant type <tt>client_credentials</tt>) allows the issuance of an access token with the requested authorization details. Otherwise, the AS refuses the request with the error code <tt>invalid_authorization_details</tt> (similar to <tt>invalid_scope</tt>).</t>
<section anchor="comparing-authorization-details"><name>Comparing Authorization Details</name>
<t>Many actions in the OAuth protocol allow the AS and RS to make security decisions based on whether the request
is asking for "more" or "less" than a previous, existing request. For example, upon refreshing a token, the client can
ask for a new access token with "fewer permissions" than had been previously authorized by the resource owner.
The requested access token will convey the reduced permissions, but the resource owner's previous authorization is unchanged by such requests.
Since the semantics of the fields in the <tt>authorization_details</tt> will be implementation specific to a given API or set of APIs, there is no
standardized mechanism to compare two arbitrary authorization detail requests.
An AS should not rely on simple object comparison in most cases, as the intersection of some fields
within a request could have side effects on the access rights granted, depending on how the API
has been designed and deployed. This is a similar effect to the scope values used with some APIs.</t>
<t>When comparing a new request to an existing request, an AS can use the same
processing techniques as used in granting the request in the first place to determine if a resource
owner needs to authorize the request. The details of this comparison are dependent on the definition
of the <tt>type</tt> of authorization request and outside the scope of this specification, but common patterns
can be applied.</t>
<t>This shall be illustrated using our running example. The example authorization request in <xref target="authz_request"></xref>, if approved by the user, resulted in the issuance of an authorization code associated with the privileges to:</t>
<ul spacing="normal">
<li>list accounts,</li>
<li>access the balance of one or more accounts,</li>
<li>access the transactions of one or more accounts, and</li>
<li>initiate, check the status of, and cancel a payment.</li>
</ul>
<t>The client could now request the AS to issue an access token assigned with the privilege to just access a list of accounts as follows:</t>
<figure><name>Example of "authorization_details" Reduced Privileges
</name>
<sourcecode type="json">[
{
"type": "account_information",
"actions": [
"list_accounts"
],
"locations": [
"https://example.com/accounts"
]
}
]
</sourcecode>
</figure>
<t>The example API is designed such that each field used by the <tt>account_information</tt> type contains additive rights,
with each value within the <tt>actions</tt> and <tt>locations</tt> arrays specifying a different element of access. To make a comparison in this
instance, the AS would perform the following steps:</t>
<ul spacing="normal">
<li>verify that the authorization code issued in the previous step contains an authorization details object of type <tt>account_information</tt>,</li>
<li>verify whether the approved list of actions contains <tt>list_accounts</tt>, and</li>
<li>verify whether the <tt>locations</tt> value includes only previously approved locations.</li>
</ul>
<t>If all checks succeed, the AS would issue the requested access token with the reduced set of access.</t>
<t>Note that this comparison is relevant to this specific API type definition. A different API type definition could have different processing rules. For example, an <tt>actions</tt> value could subsume the rights associated with another <tt>actions</tt> value. For example, if a client initially asks for
a token with <tt>write</tt> access, this implies both read and write access to this API:</t>
<figure><name>Example of "authorization_details" Requesting "write" Access to an API</name>
<sourcecode type="json">[
{
"type": "example_api",
"actions": [
"write"
]
}
]
</sourcecode>
</figure>
<t>Later, that same client makes a refresh request for <tt>read</tt> access:</t>
<figure><name>Example of "authorization_details" Requesting "read" Access to an API
</name>
<sourcecode type="json">[
{
"type": "example_api",
"actions": [
"read"
]
}
]
</sourcecode>
</figure>
<t>The AS would compare the <tt>type</tt> value and the <tt>actions</tt> value to determine that the <tt>read</tt> access is
already covered by the <tt>write</tt> access previously granted to the client.</t>
<t>This same API could be designed with a possible value for <tt>privileges</tt> of <tt>admin</tt>, used in this example to
denote that the resulting token is allowed to perform any of the functions on the resources.
If that
client is then granted such <tt>admin</tt> privileges to the API, the <tt>authorization_details</tt> would be as follows:
</t>
<figure><name>Example of "authorization_details" with "admin" Access to an API
</name>
<sourcecode type="json">[
{
"type": "example_api",
"privileges": [
"admin"
]
}
]
</sourcecode>
</figure>
<t>The AS would compare the <tt>type</tt> value and find that the <tt>privileges</tt> value subsumes any aspects of
<tt>read</tt> or <tt>write</tt> access that had been granted to the client previously. Note that other
API definitions can use <tt>privileges</tt> such that values do not subsume one another.</t>
<t>The next example shows how the client can use the common data element <tt>locations</tt> (see <xref target="common_data_fields"></xref>) to request the issuance of an access token restricted to a certain RS. In our running example, the client may ask for all permissions of the approved grant of type <tt>payment_initiation</tt> applicable to the RS residing at <tt>https://example.com/payments</tt> as follows:</t>
<figure><name>Example of "authorization_details" Requesting an Audience-Restricted Access Token
</name>
<sourcecode type="json">[
{
"type": "payment_initiation",
"locations": [
"https://example.com/payments"
]
}
]
</sourcecode>
</figure>
</section>
</section>
<section anchor="token-response"><name>Token Response</name>
<t>In addition to the token response parameters as defined in <xref target="RFC6749"></xref>, the AS <bcp14>MUST</bcp14> also return the <tt>authorization_details</tt> as granted by the resource owner and assigned to the respective access token.</t>
<t>The authorization details assigned to the access token issued in a token response are determined by the <tt>authorization_details</tt> parameter of the corresponding token request. If the client does not specify the <tt>authorization_details</tt> token request parameters, the AS determines the resulting <tt>authorization_details</tt> at its discretion.</t>
<t>The AS <bcp14>MAY</bcp14> omit values in the <tt>authorization_details</tt> to the client.</t>
<t>For our running example, it would look like this:</t>
<figure><name>Example Token Response</name>
<sourcecode type="http-message">
HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: no-store
{
"access_token": "2YotnFZFEjr1zCsicMWpAA",
"token_type": "example",
"expires_in": 3600,
"refresh_token": "tGzv3JOkF0XG5Qx2TlKWIA",
"authorization_details": [
{
"type": "payment_initiation",
"actions": [
"initiate",
"status",
"cancel"
],
"locations": [
"https://example.com/payments"
],
"instructedAmount": {
"currency": "EUR",
"amount": "123.50"
},
"creditorName": "Merchant A",
"creditorAccount": {
"iban": "DE02100100109307118603"
},
"remittanceInformationUnstructured": "Ref Number Merchant"
}
]
}
</sourcecode>
</figure>
<section anchor="enriched-authorization-details-in-token-response"><name>Enriched Authorization Details in Token Response</name>
<t>The authorization details attached to the access token <bcp14>MAY</bcp14> differ from what the client requests. In addition to the user authorizing less than what the client requested, there are some use cases where the AS enriches the data in an authorization details object. Whether enrichment is allowed and specifics of how it works are necessarily part of the definition of the respective authorization details type.</t>
<t>As one example, a client may ask for access to account information but leave the decision about the specific accounts it will be able to access to the user. During the course of the authorization process, the user would select the subset of their accounts that they want to allow the client to access. As one design option to convey the selected accounts, the AS could add this information to the respective authorization details object.</t>
<t>In that example, the requested <tt>authorization_details</tt> parameter might look like the following. In this example, the empty arrays serve as placeholders for where data will be added during enrichment by the AS. This example is illustrative only and is not intended to suggest a preference for designing the specifics of any authorization details type this way.</t>
<figure><name>Example of Requested "authorization_details"</name>
<sourcecode type="json">"authorization_details": [
{
"type": "account_information",
"access": {
"accounts": [],
"balances": [],
"transactions": []
},
"recurringIndicator":true
}
]
</sourcecode>
</figure>
<t>The AS then would expand the authorization details object and add the respective account identifiers.</t>
<figure><name>Example of Enriched "authorization_details"</name>
<sourcecode type="http-message">
HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: no-store
{
"access_token":"2YotnFZFEjr1zCsicMWpAA",
"token_type":"example",
"expires_in":3600,
"refresh_token":"tGzv3JokF0XG5Qx2TlKWIA",
"authorization_details":[
{
"type":"account_information",
"access":{
"accounts":[
{
"iban":"DE2310010010123456789"
},
{
"maskedPan":"123456xxxxxx1234"
}
],
"balances":[
{
"iban":"DE2310010010123456789"
}
],
"transactions":[
{
"iban":"DE2310010010123456789"
},
{
"maskedPan":"123456xxxxxx1234"
}
]
},
"recurringIndicator":true
}
]
}
</sourcecode>
</figure>
<t>For another example, the client is asking for access to a medical record but does not know the record number at request time. In this example, the client specifies the type of access it wants but doesn't specify the location or identifier of that access.</t>
<figure><name>Example of Requested "authorization_details"</name>
<sourcecode type="json">{
"authorization_details": [
{
"type": "medical_record",
"sens": [ "HIV", "ETH", "MART" ],
"actions": [ "read" ],
"datatypes": [ "Patient", "Observation", "Appointment" ]
}
]}
</sourcecode>
</figure>
<t>When the user interacts with the AS, they select which of the medical records they are responsible for giving to the client. This information gets returned with the access token.</t>
<figure><name>Example of Enriched "authorization_details"</name>
<sourcecode type="json">{
"access_token":"2YotnFZFEjr1zCsicMWpAA",
"token_type":"example",
"expires_in":3600,
"refresh_token":"tGzv3JokF0XG5Qx2TlKWIA",
"authorization_details":[
{
"type": "medical_record",
"sens": [ "HIV", "ETH", "MART" ],
"actions": [ "read" ],
"datatypes": [ "Patient", "Observation", "Appointment" ],
"identifier": "patient-541235",
"locations": [ "https://records.example.com/" ]
}
]
}
</sourcecode>
</figure>
<aside><t>Note: The client needs to be aware upfront of the possibility that a certain authorization details object can be enriched. It is assumed that this property is part of the definition of the respective authorization details type.</t></aside>
</section>
</section>
<section anchor="token-error-response"><name>Token Error Response</name>
<t>The Token Error Response <bcp14>MUST</bcp14> conform to the rules given in <xref target="authz_details_error"></xref>.</t>
</section>
<section anchor="resource_servers"><name>Resource Servers</name>
<t>In order to enable the RS to enforce the authorization details as approved in the authorization process, the AS <bcp14>MUST</bcp14> make this data available to the RS. The AS <bcp14>MAY</bcp14> add the <tt>authorization_details</tt> field to access tokens in JSON Web Token (JWT) format or to token introspection responses.</t>
<section anchor="jwt_based_access_tokens"><name>JWT-Based Access Tokens</name>
<t>If the access token is a JWT <xref target="RFC7519"></xref>, the AS is <bcp14>RECOMMENDED</bcp14> to add the authorization details object, filtered to the specific audience, as a top-level claim.</t>
<t>The AS will typically also add further claims to the JWT that the RS requires request processing, e.g., user ID, roles, and transaction-specific data. What claims the particular RS requires is defined by the RS-specific policy with the AS.</t>
<t>The following shows the contents of an example JWT for the payment initiation example above:</t>
<figure><name>Example of "authorization_details" in JWT-Based Access Token</name>
<sourcecode type="json">{
"iss": "https://as.example.com",
"sub": "24400320",
"aud": "a7AfcPcsl2",
"exp": 1311281970,
"acr": "psd2_sca",
"txn": "8b4729cc-32e4-4370-8cf0-5796154d1296",
"authorization_details": [
{
"type": "https://scheme.example.com/payment_initiation",
"actions": [
"initiate",
"status",
"cancel"
],
"locations": [
"https://example.com/payments"
],
"instructedAmount": {
"currency": "EUR",
"amount": "123.50"
},
"creditorName": "Merchant A",
"creditorAccount": {
"iban": "DE02100100109307118603"
},
"remittanceInformationUnstructured": "Ref Number Merchant"
}
],
"debtorAccount": {
"iban": "DE40100100103307118608",
"user_role": "owner"
}
}
</sourcecode>
</figure>
<t>In this case, the AS added the following example claims to the JWT-based access token:</t>
<dl spacing="normal" newline="false">
<dt><tt>sub</tt>:</dt>
<dd>indicates the user for which the client is asking for payment initiation.</dd>
<dt><tt>txn</tt>:</dt>
<dd>transaction id used to trace the transaction across the services of provider <tt>example.com</tt></dd>
<dt><tt>debtorAccount</tt>:</dt>
<dd>API-specific field containing the debtor account. In the example, this account was not passed in the <tt>authorization_details</tt> but was selected by the user during the authorization process. The field <tt>user_role</tt> conveys the role the user has with respect to this particular account. In this case, they are the owner. This data is used for access control at the payment API (the RS).</dd>
</dl>
</section>
<section anchor="token_introspection"><name>Token Introspection</name>
<t>Token introspection <xref target="RFC7662"></xref> provides a means for an RS to query the AS to determine information about an access token. If the AS includes authorization detail information for the token in its response, the information <bcp14>MUST</bcp14> be conveyed with <tt>authorization_details</tt> as a top-level member of the introspection response JSON object. The <tt>authorization_details</tt> member <bcp14>MUST</bcp14> contain the same structure defined in <xref target="authz_details"></xref>, potentially filtered and extended for the RS making the introspection request.</t>
<t>Here is an example introspection response for the payment initiation example:</t>
<figure><name>Example of "authorization_details" in Introspection Response</name>
<sourcecode type="json">{
"active": true,
"sub": "24400320",
"aud": "s6BhdRkqt3",
"exp": 1311281970,
"acr": "psd2_sca",
"txn": "8b4729cc-32e4-4370-8cf0-5796154d1296",
"authorization_details": [
{
"type": "https://scheme.example.com/payment_initiation",
"actions": [
"initiate",
"status",
"cancel"
],
"locations": [
"https://example.com/payments"
],
"instructedAmount": {
"currency": "EUR",
"amount": "123.50"
},
"creditorName": "Merchant123",
"creditorAccount": {
"iban": "DE02100100109307118603"
},
"remittanceInformationUnstructured": "Ref Number Merchant"
}
],
"debtorAccount": {
"iban": "DE40100100103307118608",
"user_role": "owner"
}
}
</sourcecode>
</figure>
</section>
</section>
<section anchor="metadata"><name>Metadata</name>
<t>To advertise its support for this feature, the supported list of authorization details types is included in the AS metadata response <xref target="RFC8414"></xref> using the metadata parameter <tt>authorization_details_types_supported</tt>, which is a JSON array.</t>
<t>This is illustrated by the following example:</t>
<figure><name>Example of Server Metadata about the Supported Authorization Details</name>
<sourcecode type="json">{
...
"authorization_details_types_supported":[
"payment_initiation",
"account_information"
]
}
</sourcecode>
</figure>
<t>Clients <bcp14>MAY</bcp14> indicate the authorization details types they will use when requesting authorization with the client registration metadata parameter <tt>authorization_details_types</tt>, which is a JSON array.</t>
<t>This is illustrated by the following example:</t>
<figure><name>Example of Server Metadata about Authorization Details</name>
<sourcecode type="json">{
...
"authorization_details_types":[
"payment_initiation"
]
}
</sourcecode>
</figure>
<t>The registration of authorization details types with the AS is outside the scope of this specification.</t>
</section>
<section anchor="implementation-considerations"><name>Implementation Considerations</name>
<section anchor="using-authorization-details-in-a-certain-deployment"><name>Using Authorization Details in a Certain Deployment</name>
<t>Using authorization details in a certain deployment will require the following steps:</t>
<ul spacing="normal">
<li>Define authorization details types.</li>
<li>Publish authorization details types in the OAuth server metadata.</li>
<li>Determine how authorization details are shown to the user in the user consent prompt.</li>
<li>If needed, enrich authorization details in the user consent process (e.g., add selected accounts or set expirations).</li>
<li>If needed, determine how authorization details are reflected in access token content or introspection responses.</li>
<li>Determine how the RSs process the authorization details or token data derived from authorization details.</li>
<li>If needed, entitle clients to use certain authorization details types.</li>
</ul>
</section>
<section anchor="minimal-implementation-support"><name>Minimal Implementation Support</name>
<t>General AS implementations supporting this specification should provide the following basic functions:</t>
<ul spacing="normal">
<li>Support advertisement of supported authorization details types in OAuth server metadata</li>
<li>Accept the <tt>authorization_details</tt> parameter in authorization requests in conformance with this specification</li>
<li>Support storage of consented authorization details as part of a grant</li>
<li>Implement default behavior for adding authorization details to access tokens and token introspection responses in order to make them available to RSs (similar to scope values). This should work with any grant type, especially <tt>authorization_code</tt> and <tt>refresh_token</tt>.</li>
</ul>
<t>Processing and presentation of authorization details will vary significantly among different authorization details types. Implementations should therefore support customization of the respective behavior. In particular, implementations should allow deployments to:</t>
<ul spacing="normal">
<li>determine presentation of the authorization details;</li>
<li>modify requested authorization details in the user consent process, e.g., adding fields; and</li>
<li>merge requested and preexisting authorization details.</li>
</ul>
<t>One approach to supporting such customization would be to have a mechanism allowing the registration of extension modules, each of them responsible for rendering the respective user consent and any transformation needed to provide the data needed to the RS by way of structured access tokens or token introspection responses.</t>
</section>
<section anchor="use-of-machine-readable-type-schemas"><name>Use of Machine-Readable Type Schemas</name>
<t>Implementations might allow deployments to use machine-readable schema languages for defining authorization details types to facilitate creating and validating authorization details objects against such schemas. For example, if an authorization details <tt>type</tt> were defined using JSON Schemas <xref target="JSON.Schema"></xref>, the JSON Schema identifier could be used as <tt>type</tt> value in the respective authorization details objects.</t>
<t>Note, however, that <tt>type</tt> values are identifiers understood by the AS and, to the extent necessary, the client and RS.
This specification makes no assumption that a <tt>type</tt> value would point to a machine-readable schema format or that any party in the system (such as the client, AS, or RS) would dereference or process the contents of the <tt>type</tt> field in any specific way.</t>
</section>
<section anchor="large_requests"><name>Large Requests</name>
<t>Authorization request URIs containing <tt>authorization_details</tt> in a request parameter or a request object can become very long. Therefore, implementers should consider using the <tt>request_uri</tt> parameter as defined in <xref target="RFC9101"></xref> in combination with the pushed request object mechanism as defined in <xref target="RFC9126"></xref> to pass <tt>authorization_details</tt> in a reliable and secure manner. Here is an example of such a pushed authorization request that sends the authorization request data directly to the AS via an HTTPS-protected connection:</t>
<figure><name>Example of Large Request including "authorization_details"</name>
<sourcecode type="http-message"><![CDATA[
POST /as/par HTTP/1.1
Host: as.example.com
Content-Type: application/x-www-form-urlencoded
Authorization: Basic czZCaGRSa3F0Mzo3RmpmcDBaQnIxS3REUmJuZlZkbUl3
response_type=code&
client_id=s6BhdRkqt3
&state=af0ifjsldkj
&redirect_uri=https%3A%2F%2Fclient.example.org%2Fcb
&code_challenge_method=S256
&code_challenge=K2-ltc83acc4h0c9w6ESC_rEMTJ3bwc-uCHaoeK1t8U
&authorization_details=%5B%7B%22type%22%3A%22account_information%22
%2C%22actions%22%3A%5B%22list_accounts%22%2C%22read_balances%22%2C%
22read_transactions%22%5D%2C%22locations%22%3A%5B%22https%3A%2F%2Fe
xample.com%2Faccounts%22%5D%7D%2C%7B%22type%22%3A%22payment_initiat
ion%22%2C%22actions%22%3A%5B%22initiate%22%2C%22status%22%2C%22canc
el%22%5D%2C%22locations%22%3A%5B%22https%3A%2F%2Fexample.com%2Fpaym
ents%22%5D%2C%22instructedAmount%22%3A%7B%22currency%22%3A%22EUR%22
%2C%22amount%22%3A%22123.50%22%7D%2C%22creditorName%22%3A%22Merchan
t123%22%2C%22creditorAccount%22%3A%7B%22iban%22%3A%22DE021001001093
07118603%22%7D%2C%22remittanceInformationUnstructured%22%3A%22Ref%2
0Number%20Merchant%22%7D%5D
]]></sourcecode>
</figure>
</section>
</section>
<section anchor="security_considerations"><name>Security Considerations</name>
<t>The <tt>authorization_details</tt> parameter is sent through the user agent in case of an OAuth authorization request, which makes them vulnerable to modifications by the user. If the integrity of the
<tt>authorization_details</tt> is a concern, clients <bcp14>MUST</bcp14> protect <tt>authorization_details</tt> against tampering and swapping. This can be achieved by signing the request using signed request objects as defined in <xref target="RFC9101"></xref> or using the <tt>request_uri</tt> authorization request parameter as defined in <xref target="RFC9101"></xref> in conjunction with <xref target="RFC9126"></xref> to pass the URI of the request object to the AS.</t>
<t>All string comparisons in an <tt>authorization_details</tt> parameter are to be done as defined by <xref target="RFC8259"></xref>. No additional transformation or normalization is to be done in evaluating equivalence of string values.</t>
<t>The common data field <tt>locations</tt> allows a client to specify where it intends to use a certain authorization, i.e., it is possible to unambiguously assign permissions to RSs. In situations with multiple RSs, this prevents unintended client authorizations (e.g., a <tt>read</tt> scope value potentially applicable for an email as well as a cloud service) through audience restriction.</t>
<t>The AS <bcp14>MUST</bcp14> properly sanitize and handle the data passed in the <tt>authorization_details</tt> in order to prevent injection attacks.</t>
<t>The Security Considerations of <xref target="RFC6749"></xref>, <xref target="RFC7662"></xref>, and <xref target="RFC8414"></xref> also apply.</t>
</section>
<section anchor="privacy_considerations"><name>Privacy Considerations</name>
<t>It is especially important for implementers to design and use authorization details in a privacy-preserving manner.</t>
<t>Any sensitive personal data included in <tt>authorization_details</tt> must be prevented from leaking, e.g., through referrer headers. Implementation options include encrypted request objects as defined in <xref target="RFC9101"></xref> or transmission of <tt>authorization_details</tt> via end-to-end encrypted connections between client and AS by utilizing <xref target="RFC9126"></xref> and the <tt>request_uri</tt> authorization request parameter as defined in <xref target="RFC9101"></xref>. The latter does not require application-level encryption, but it requires another message exchange between the client and the AS.</t>
<t>Even if the request data is encrypted, an attacker could use the AS to learn the user's data by injecting the encrypted request data into an authorization request on a device under their control and use the AS's user consent screens to show the (decrypted) user data in the clear. Implementations need to consider this attack vector and implement appropriate countermeasures, e.g., by only showing portions of the data or, if possible, determining whether the assumed user context is still the same (after user authentication).</t>
<t>The AS needs to take into consideration the privacy implications when sharing <tt>authorization_details</tt> with the client or RSs. The AS should share this data with those parties on a "need to know" basis as determined by local policy.</t>
</section>
<section anchor="iana_considerations"><name>IANA Considerations</name>
<section anchor="oauth-parameters-registration"><name>OAuth Parameters Registration</name>
<t>The following parameter has been registered
in the "OAuth Parameters" registry <xref target="IANA.OAuth.Parameters"></xref>
established by <xref target="RFC6749"></xref>.</t>
<dl spacing="normal">
<dt>Name:</dt>
<dd><tt>authorization_details</tt></dd>
<dt>Parameter Usage Location:</dt>
<dd>authorization request, token request, token response</dd>
<dt>Change Controller:</dt>
<dd>IETF</dd>
<dt>Reference:</dt>
<dd>RFC 9396</dd>
</dl>
</section>
<section anchor="json-web-token-claims-registration"><name>JSON Web Token Claims Registration</name>
<t>The following value has been registered in the IANA "JSON Web Token Claims" registry established by <xref target="RFC7519"></xref>.</t>
<dl spacing="normal">
<dt>Claim Name:</dt>
<dd><tt>authorization_details</tt></dd>
<dt>Claim Description:</dt>
<dd>The claim <tt>authorization_details</tt> contains a JSON array of JSON objects representing the rights of the access token. Each JSON object contains the data to specify the authorization requirements for a certain type of resource.</dd>
<dt>Change Controller:</dt>
<dd>IETF</dd>
<dt>Reference:</dt>
<dd><xref target="jwt_based_access_tokens"></xref> of RFC 9396</dd>
</dl>
</section>
<section anchor="oauth-token-introspection-response-registration"><name>OAuth Token Introspection Response Registration</name>
<t>The following value has been registered in the IANA "OAuth Token Introspection Response" registry established by <xref target="RFC7662"></xref>.</t>
<dl spacing="normal">
<dt>Name:</dt>
<dd><tt>authorization_details</tt></dd>
<dt>Description:</dt>
<dd>The member <tt>authorization_details</tt> contains a JSON array of JSON objects representing the rights of the access token. Each JSON object contains the data to specify the authorization requirements for a certain type of resource.</dd>
<dt>Change Controller:</dt>
<dd>IETF</dd>
<dt>Reference:</dt>
<dd><xref target="token_introspection"></xref> of RFC 9396</dd>
</dl>
</section>
<section anchor="oauth-authorization-server-metadata-registration"><name>OAuth Authorization Server Metadata Registration</name>
<t>The following values have been registered in the IANA "OAuth Authorization Server Metadata" registry of <xref target="IANA.OAuth.Parameters"></xref> established by <xref target="RFC8414"></xref>.</t>
<dl spacing="normal">
<dt>Metadata Name:</dt>
<dd><tt>authorization_details_types_supported</tt></dd>
<dt>Metadata Description:</dt>
<dd>JSON array containing the authorization details types the AS supports</dd>
<dt>Change Controller:</dt>