Skip to content

Update API to return an array of DigitalCredential instances - #531

Open
mohamedamir wants to merge 1 commit into
mainfrom
issue-222-handling-multiple-credentials
Open

Update API to return an array of DigitalCredential instances#531
mohamedamir wants to merge 1 commit into
mainfrom
issue-222-handling-multiple-credentials

Conversation

@mohamedamir

@mohamedamir mohamedamir commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Closes #222

This PR updates the 'discover from external source' algorithm and mock mechanics to expect multiple responses from the credential chooser/platform, and resolves the credential request Promise with a sequence of DigitalCredential instances rather than a single instance.

Depends on: w3c/webappsec-credential-management#301 (Upstream Web IDL changes allowing navigator.credentials.get() to return a sequence of credentials).

The following tasks have been completed:

  • Modified Web platform tests (link)

Implementation commitment:

  • WebKit (link to issue)
  • Chromium (link to issue)
  • Gecko (link to issue)

Documentation and checks

  • Affects privacy
  • Affects security
  • Pinged MDN
  • Updated Explainer
  • Updated digitalcredentials.dev

Preview | Diff

This resolves issue #222 by changing the 'discover from external source'
algorithm and mock mechanism to resolve with a sequence of DigitalCredential
instances rather than a single instance.
@mohamedamir
mohamedamir requested a review from a team as a code owner June 15, 2026 11:36
@mohamedamir mohamedamir added agenda+ Add to the weekly agenda and removed agenda+ Add to the weekly agenda labels Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handling Multiple Credentials from Different Wallets in DC API Presentation Responses

1 participant