Skip to content

feat(oauth2): bring wallet attestations to draft 9 - #255

Merged
hacdias merged 3 commits into
mainfrom
feat/wallet-attestations-draft-9
Jul 1, 2026
Merged

feat(oauth2): bring wallet attestations to draft 9#255
hacdias merged 3 commits into
mainfrom
feat/wallet-attestations-draft-9

Conversation

@hacdias

@hacdias hacdias commented Jul 1, 2026

Copy link
Copy Markdown
Member

Updates the current implementation to support Draft 9 of wallet attestations in a backwards compatible way.

Maybe it's worth considering not doing it backwards compatible since it's a draft, and we can simplify a bit.

@hacdias
hacdias requested a review from a team as a code owner July 1, 2026 13:12
@changeset-bot

changeset-bot Bot commented Jul 1, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 99eb438

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@openid4vc/oauth2 Patch
@openid4vc/openid4vci Patch
@openid4vc/openid4vp Patch
@openid4vc/utils Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@hacdias
hacdias force-pushed the feat/wallet-attestations-draft-9 branch from c26d449 to b22faf0 Compare July 1, 2026 13:14
client_attestation_signing_alg_values_supported: z.optional(z.array(zAlgValueNotNone)),
client_attestation_pop_signing_alg_values_supported: z.optional(z.array(zAlgValueNotNone)),
// Endpoint from which the client can obtain a fresh challenge for the Client Attestation PoP JWT.
challenge_endpoint: z.optional(zHttpsUrl),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so we now have nonce endpoint in oid4vci, and challenge endpoints for wallet attestation 😓

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes!

Comment thread packages/oauth2/src/client-attestation/client-attestation.ts
Signed-off-by: Henrique Dias <mail@hacdias.com>
Comment thread .changeset/wallet-attestation-draft-09.md Outdated
Signed-off-by: Henrique Dias <mail@hacdias.com>
@hacdias
hacdias force-pushed the feat/wallet-attestations-draft-9 branch from b22faf0 to 4112996 Compare July 1, 2026 13:26
…se case

The issuer option was framed as deprecated back-compat only. It has a legitimate
ongoing use: when signing with a DID whose kid header is a relative fragment (e.g.
'#key-1'), the iss value supplies the DID base used to reconstruct the full DID URL
during verification. Reframe the JSDoc and drop the @deprecated tag.
@hacdias
hacdias merged commit 33adaf0 into main Jul 1, 2026
5 of 7 checks passed
@hacdias
hacdias deleted the feat/wallet-attestations-draft-9 branch July 1, 2026 13:35
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.

2 participants