Skip to content

fix: accept application/jwt on VCI credential endpoints#85

Open
jogu wants to merge 1 commit intomasterfrom
vci-request-encryption-fix
Open

fix: accept application/jwt on VCI credential endpoints#85
jogu wants to merge 1 commit intomasterfrom
vci-request-encryption-fix

Conversation

@jogu
Copy link
Copy Markdown
Member

@jogu jogu commented Apr 16, 2026

OID4VCI encrypted credential requests are sent as a JWE with Content-Type: application/jwt, but the endpoints only advertised application/json, so JAX-RS rejected them with 415 before the handler ran. Accept both media types; the Authlete parse APIs already handle JWE decryption downstream.

OID4VCI encrypted credential requests are sent as a JWE with
Content-Type: application/jwt, but the endpoints only advertised
application/json, so JAX-RS rejected them with 415 before the
handler ran. Accept both media types; the Authlete parse APIs
already handle JWE decryption downstream.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant