-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Why was the kid removed from the JWT's header in ef51cf4?
Since the kid is not included, it makes the verification (https://github.com/openwallet-foundation-labs/oid4vc-ts/blob/main/packages/oauth2/src/common/jwk/jwks.ts#L21) impossible when there are multiple JWK in the JWK Set.
It works when there is only one JWK in the JWK Set, but that is not always the case.
I found this error when developing this feature at openwallet-foundation/credo-ts#2456.
I tried to host more than one key at /jwks
and the verification of the JWT in POST /credential
failed becaused the kid was not included in the JWT and there was more than one key in the JWK Set.
Metadata
Metadata
Assignees
Labels
No labels