one or more resource fields?
“6.4. Query Status of a Grant” in the ID1 of “Grant Management for OAuth 2.0” explains the scopes
property in the response from the Grant Management Endpoint as follows.
scopes
: JSON array where every entry contains ascope
field and may contain one or moreresource
fields. …
A JSON object should not include multiple fields which have the same name (in this case resource
). The explanation of the scopes
should be changed.
Comments (8)
-
-
The text does not fit the example.
Our text proposal is:
JSON array where every entry contains a `scope` field of type JSON string and may contain a `resources` field with an array of resource indicators.
-
Looking to resolve this through #457
-
-
assigned issue to
-
assigned issue to
-
PR created to implement proposed text https://bitbucket.org/openid/fapi/pull-requests/341
-
JSON schema would be considered in the next implementers draft
-
- changed milestone to 2nd Implementers Draft
-
assigned issue to
-
- changed status to resolved
PR merged
- Log in to comment
The example in that section shows
resources
as an array of resource indicators. Maybe the text just needs to be aligned with that (if it’s the intended data structure); otherwise, the example may need to be updated as well.