Identity and authorization

Which permissions does the service require?

A protected service can explain where to request access and which permissions are needed.

Source review

Read access, Look up a price, Within the grant. Order request, Buy the item, Needs purchase authority.
Which actions did the user allow?

What to do

Publish metadata for the resource you actually protect and align it with authentication challenges and accepted tokens.

Practical example

A tool endpoint should identify the resource against which its access token will be validated.

How to verify the result

Run an authorized read and a request with an inappropriate resource or permission. Confirm that the server enforces the difference.

What this check cannot prove

A discovery document does not establish that tokens are checked for the right issuer, audience, resource and granted operation.

Where this advice comes from

The linked primary guidance informs these steps. Anonymous Analysts defines the test interpretation and its acceptance criteria.

Sources and standards