Skip to content

Support Multiple Credentials per Query and Multiple Queries per Credential in Credential Response - #77

Open
GarethCOliver wants to merge 3 commits into
openid:mainfrom
GarethCOliver:gco/69-credential-refs
Open

GarethCOliver wants to merge 3 commits into
openid:mainfrom
GarethCOliver:gco/69-credential-refs

Conversation

@GarethCOliver

@GarethCOliver GarethCOliver commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

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.

@GarethCOliver GarethCOliver changed the title Gco/69 credential refs Support Multiple Credentials per Query and Multiple Queries per Credential in Credential Response Oct 15, 2026
@jogu
jogu force-pushed the jogu/format-annexes branch from 4d461ea to 2b6b0f3 Compare October 22, 2026 10:24
@jogu
jogu force-pushed the jogu/format-annexes branch from 2b6b0f3 to bb535de Compare November 4, 2026 17:40
@jogu
jogu requested a review from bhjelm November 9, 2026 19:57
…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
minor edits
@GarethCOliver
GarethCOliver force-pushed the gco/69-credential-refs branch from b056b91 to 0229920 Compare November 9, 2026 19:59
@GarethCOliver
GarethCOliver changed the base branch from jogu/format-annexes to main November 9, 2026 23:00
@jogu
jogu requested a review from c2bo November 26, 2026 07:19

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants