openid / openid/OpenID4VCI

`locations` and `resource` parameters requirements

Open
#378 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
125
Forks
41
PR merge metrics
No merged PRs in 30d

Description

resource
Currently, spec recommends to use the resource parameter when placing a authorization request (PAR or not), when
a) scope is being used &
b) > If the Credential Issuer metadata contains an authorization_servers property,

locations
Similarly, spec requires to include it in the authorization_details again when authorization_servers is present.

To my understanding both of those parameters make sense when the credential issuer is not acting an authorization server.

Given that nothing prevents an issuer (which acts also as an authorization server) from populating the authorization_servers with its own - single - issuer id, I think that the requirements could be better expressed by simply stating that
resource is recommended and locations is required only when credential issuer is not acting as an authorization server and remove the reference to the authorization_servers attribute.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked OpenID4VCI sections on using the scope parameter and authorization details, focusing on the conditions involving authorization_servers, resource, and locations. Compare those requirements with the issuer also acting as an authorization server. Done means the specification text clearly expresses the intended conditions without ambiguity.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.