Repository navigation
Wallet initiated OID4VC authorization code flow fails with Keycloak 26.5.0 #45198
|
I'm testing a wallet initiated flow with https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#section-3.4 and I get which can't exist for a wallet initiated flow, and it is a problem for my demo, I'll have to stay at 26.4.7 for now... The wallet initiated flow does not involve a credential offer flow. For example, OID4VP presentation request goes to the Wallet that itself initiates a credential acquisition via the authorization code flow. Or Wallet is already aware of some well known credential types - see point @mposolda Hi Marek, can you clarify please what is happening, perhaps I need to add something else to the authorization code flow request ? |
Replies: 5 comments 4 replies
|
Might be a false alarm, will double check tomorrow, apologies in advance if it proves the case |
|
@sberyozkin Thanks for reporting this. In 26.5.0, the credential endpoint only accepts a If the request includes a different or hard-coded identifier (for example, Could you please check the token response you receive in the wallet-initiated flow and confirm the value of: That value should be used in the credential request. Alternatively, if your flow does not rely on server-generated identifiers, you can send If you can share the credential request payload and the token response, I’m happy to help verify further. |
- 10BC8
|
Thanks @Awambeng for having a look at this query, Supplying |
|
Yes, the use of Currently, the holder can always request a vc by configuration id or scope, without having received an offer |
|
Thanks @tdiesler, that makes sense. |
@sberyozkin Thanks for reporting this.
In 26.5.0, the credential endpoint only accepts a
credential_identifierthat was generated by Keycloak and returned in the token’sauthorization_details.If the request includes a different or hard-coded identifier (for example,
PostQuantumCryptographyPhD), the server returnsUNKNOWN_CREDENTIAL_IDENTIFIERbecause there is no offer state associated with that ID.Could you please check the token response you receive in the wallet-initiated flow and confirm the value of:
That value should be used in the credential request.
Alternatively, if your flow does not rely on server-generated identifiers, you c…