Repository navigation
Support Multiple Credentials per Query and Multiple Queries per Credential in Credential Response - #77
Open
GarethCOliver wants to merge 3 commits into
Open
Support Multiple Credentials per Query and Multiple Queries per Credential in Credential Response#77GarethCOliver wants to merge 3 commits into
GarethCOliver wants to merge 3 commits into
Conversation
jogu
reviewed
Oct 19, 2026
jogu
force-pushed
the
jogu/format-annexes
branch
from
October 22, 2026 10:24
4d461ea to
2b6b0f3
Compare
jogu
force-pushed
the
jogu/format-annexes
branch
from
November 4, 2026 17:40
2b6b0f3 to
bb535de
Compare
…to QueryRef Restructure the response Envelope so that `credentials` is an array of CredentialItems, each of which declares the CredentialQueries it satisfies via a new `query_refs` field (option 2 from the discussion in openid#69 / openid#70). This allows a single credential to satisfy several queries without being duplicated, and allows several credentials to satisfy a single query when `allow_multiple` is set. Rename `CredentialRef` to `QueryRef` throughout, since it identifies a CredentialQuery in the request rather than a credential. closes openid#69, closes openid#70
GarethCOliver
force-pushed
the
gco/69-credential-refs
branch
from
November 9, 2026 19:59
b056b91 to
0229920
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #69
closes #70
Updates Credential Response to support CredentialItem to be associated with multiple CredentialQueries (to avoid duplication) and to support multiple CredentialItems for the same CredentialQuery.
As part of this change rename 'CredentialRef' to 'QueryRef' to more accurately reflect that it is refering to a query, not a Credential.
Rebased onto main now that #57 has merged.