Skip to content

Commit 9aabb61

Browse files
committed
incorporated Apoorva\'s feedback
1 parent 2f55357 commit 9aabb61

File tree

3 files changed

+29
-29
lines changed

3 files changed

+29
-29
lines changed

openid-sharedsignals-framework-1_0.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2032,13 +2032,13 @@ <h3 id="name-transmitter-configuration-m">
20322032
<p id="section-6.1-20">supported_scopes<a href="#section-6.1-20" class="pilcrow"></a></p>
20332033
<ul class="normal ulEmpty">
20342034
<li class="normal ulEmpty" id="section-6.1-21.1">
2035-
<p id="section-6.1-21.1.1">OPTIONAL. A list of OAuth <span>[<a href="#RFC6749" class="cite xref">RFC6749</a>]</span> scope names that the Transmitter supports for specific endpoints. The value of this field is a JSON object that has the endpoint names as keys, and arrays of scope name strings they support as their values. OAuth tokens obtained using any of the scopes defined here MUST be accepted by the specified endpoint. Any key that is not defined as an endpoint in the Transmitter Configuration Metadata MUST be ignored<a href="#section-6.1-21.1.1" class="pilcrow"></a></p>
2035+
<p id="section-6.1-21.1.1">OPTIONAL. A list of OAuth <span>[<a href="#RFC6749" class="cite xref">RFC6749</a>]</span> scope names that the Transmitter supports for specific endpoints. The value of this field is a JSON object that has the endpoint names as keys, and arrays of scope name strings they support as their values. OAuth tokens obtained using any of the scopes defined here MUST be accepted by the specified endpoint. Any key that is not defined as an endpoint in the Transmitter Configuration Metadata MUST be ignored. If the <code>supported_scopes</code> member is present in the metadata, and if an endpoint is not present as a key in it, then the endpoint MUST NOT require OAuth for authorization.<a href="#section-6.1-21.1.1" class="pilcrow"></a></p>
20362036
</li>
20372037
</ul>
20382038
<p id="section-6.1-22">authorization_servers<a href="#section-6.1-22" class="pilcrow"></a></p>
20392039
<ul class="normal ulEmpty">
20402040
<li class="normal ulEmpty" id="section-6.1-23.1">
2041-
<p id="section-6.1-23.1.1">OPTIONAL. An array supported authorization servers and the scopes they support. Each element of the array is a Authorization Server Descriptor JSON object defined in the section <a href="#authz-server-descriptor" class="auto internal xref">Section 6.1.1</a> below.<a href="#section-6.1-23.1.1" class="pilcrow"></a></p>
2041+
<p id="section-6.1-23.1.1">OPTIONAL. An array supported authorization servers and the scopes they support. Each element of the array is a Authorization Server Descriptor JSON object defined in the section <a href="#authz-server-descriptor" class="auto internal xref">Section 6.1.1</a> below. If the <code>supported_scopes</code> member is present in the metadata, then the <code>authorization_servers</code> MUST also be present, and it MUST provide a server location for every supported scope.<a href="#section-6.1-23.1.1" class="pilcrow"></a></p>
20422042
</li>
20432043
</ul>
20442044
<p id="section-6.1-24">TODO: consider adding a IANA Registry for metadata, similar to Section 7.1.1 of

openid-sharedsignals-framework-1_0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,11 +540,11 @@ critical_subject_members
540540

541541
supported_scopes
542542

543-
> OPTIONAL. A list of OAuth {{RFC6749}} scope names that the Transmitter supports for specific endpoints. The value of this field is a JSON object that has the endpoint names as keys, and arrays of scope name strings they support as their values. OAuth tokens obtained using any of the scopes defined here MUST be accepted by the specified endpoint. Any key that is not defined as an endpoint in the Transmitter Configuration Metadata MUST be ignored
543+
> OPTIONAL. A list of OAuth {{RFC6749}} scope names that the Transmitter supports for specific endpoints. The value of this field is a JSON object that has the endpoint names as keys, and arrays of scope name strings they support as their values. OAuth tokens obtained using any of the scopes defined here MUST be accepted by the specified endpoint. Any key that is not defined as an endpoint in the Transmitter Configuration Metadata MUST be ignored. If the `supported_scopes` member is present in the metadata, and if an endpoint is not present as a key in it, then the endpoint MUST NOT require OAuth for authorization.
544544

545545
authorization_servers
546546

547-
> OPTIONAL. An array supported authorization servers and the scopes they support. Each element of the array is a Authorization Server Descriptor JSON object defined in the section {{authz-server-descriptor}} below.
547+
> OPTIONAL. An array supported authorization servers and the scopes they support. Each element of the array is a Authorization Server Descriptor JSON object defined in the section {{authz-server-descriptor}} below. If the `supported_scopes` member is present in the metadata, then the `authorization_servers` MUST also be present, and it MUST provide a server location for every supported scope.
548548

549549
TODO: consider adding a IANA Registry for metadata, similar to Section 7.1.1 of
550550
{{RFC8414}}. This would allow other specs to add to the metadata.

openid-sharedsignals-framework-1_0.txt

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -571,13 +571,18 @@ Tulshibagwale, et al. Standards Track [Page 10]
571571
tokens obtained using any of the scopes defined here MUST be
572572
accepted by the specified endpoint. Any key that is not defined
573573
as an endpoint in the Transmitter Configuration Metadata MUST be
574-
ignored
574+
ignored. If the supported_scopes member is present in the
575+
metadata, and if an endpoint is not present as a key in it, then
576+
the endpoint MUST NOT require OAuth for authorization.
575577

576578
authorization_servers
577579

578580
OPTIONAL. An array supported authorization servers and the scopes
579581
they support. Each element of the array is a Authorization Server
580582
Descriptor JSON object defined in the section Section 6.1.1 below.
583+
If the supported_scopes member is present in the metadata, then
584+
the authorization_servers MUST also be present, and it MUST
585+
provide a server location for every supported scope.
581586

582587
TODO: consider adding a IANA Registry for metadata, similar to
583588
Section 7.1.1 of [RFC8414]. This would allow other specs to add to
@@ -602,6 +607,17 @@ Tulshibagwale, et al. Standards Track [Page 10]
602607
The following is a non-normative example of an Authorization Server
603608
Descriptor
604609

610+
611+
612+
613+
614+
615+
616+
Tulshibagwale, et al. Standards Track [Page 11]
617+
618+
SharedSignals June 2023
619+
620+
605621
{
606622
"scopes" : ["scope1", "scope2"],
607623
"servers": [
@@ -611,13 +627,6 @@ Tulshibagwale, et al. Standards Track [Page 10]
611627
]
612628
}
613629

614-
615-
616-
Tulshibagwale, et al. Standards Track [Page 11]
617-
618-
SharedSignals June 2023
619-
620-
621630
Figure 9: Example Authorization Server Descriptor
622631

623632
6.2. Obtaining Transmitter Configuration Information
@@ -657,15 +666,6 @@ Tulshibagwale, et al. Standards Track [Page 11]
657666
GET /.well-known/ssf-configuration/issuer1 HTTP/1.1
658667
Host: tr.example.com
659668

660-
Figure 11: Example: Transmitter Configuration Request (with path)
661-
662-
Using path components enables supporting multiple issuers per host.
663-
This is required in some multi-tenant hosting configurations. This
664-
use of ".well-known" is for supporting multiple issuers per host;
665-
unlike its use in [RFC5785], it does not provide general information
666-
about the host.
667-
668-
669669

670670

671671

@@ -674,6 +674,14 @@ Tulshibagwale, et al. Standards Track [Page 12]
674674
SharedSignals June 2023
675675

676676

677+
Figure 11: Example: Transmitter Configuration Request (with path)
678+
679+
Using path components enables supporting multiple issuers per host.
680+
This is required in some multi-tenant hosting configurations. This
681+
use of ".well-known" is for supporting multiple issuers per host;
682+
unlike its use in [RFC5785], it does not provide general information
683+
about the host.
684+
677685
6.2.2. Backward Compatibility for RISC Transmitters
678686

679687
Existing RISC Transmitters MAY continue to use the path component
@@ -717,14 +725,6 @@ Tulshibagwale, et al. Standards Track [Page 12]
717725

718726

719727

720-
721-
722-
723-
724-
725-
726-
727-
728728
Tulshibagwale, et al. Standards Track [Page 13]
729729

730730
SharedSignals June 2023

0 commit comments

Comments
 (0)