Replies: 2 comments
|
The DCP spec is pretty clear about this:
So yes, that's a bug. However, it is not up for interpretation or configuration. [edit]: I opened a bug issue #990 |
0 replies
|
closing because the implementation was aligned in #992 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Current behavior
In
CredentialQueryResolverImpl, when a client requests credentials that include scopes beyond those allowed by the self-issued token, the entire query is rejected:Problem
This is an all-or-nothing check. If a client requests 3 scopes and only 2 are permitted by the token, the entire query fails, even for the 2 valid ones.
This behaviour may be acceptable in some contexts, but it is not the only valid approach. The decision of whether to serve the intersection of permitted and requested credentials, or to reject it, should be left to the operator running the Identity Hub, not enforced globally.
Proposed change
Whether to reject or partially serve a query like this should be a configuration associated with the participant context.
All reactions