one or more resource fields?

Issue #448 resolved
Takahiko Kawasaki created an issue

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 a scope field and may contain one or more resource 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)

  1. Travis Spencer

    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.

  2. Torsten Lodderstedt

    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.

  3. Log in to comment