Fix dpop-nonce format, use nonce in authorizeCode request in Issuer#104
Fix dpop-nonce format, use nonce in authorizeCode request in Issuer#104pankaj-sp wants to merge 1 commit intoeu-digital-identity-wallet:mainfrom
Conversation
|
Thanks for this @pankaj-sp we'll review this over the next day or so. Cheers. |
|
Hey @dtsiflit Do you have any update on it? |
Hi @pankaj-sp we are currently working on our own PR to address this. It will be merged in over the next few days, thanks! |
|
Hey @pankaj-sp we have a new release that (hopefully) addresses this issue: https://github.com/eu-digital-identity-wallet/eudi-lib-ios-openid4vci-swift/releases/tag/v0.11.0 We kept DPOP_NONCE_HEADER = "DPoP-Nonce" (not "dpop-nonce") because the OAuth 2.0 Demonstrating Proof of Possession requires it here. If you can test this on your end and let us know we will appreciate it. Thanks! |
|
@dtsiflit Shouldn't header be case insensitive, I mean dpop-nonce and DPoP-Nonce should both pass, Cc: @paulbastian |
https://datatracker.ietf.org/doc/html/rfc9449#name-the-dpop-http-header
|
|
Please reopen and fix this |
|
Thank you everyone, looking into this based on https://datatracker.ietf.org/doc/html/rfc9449#name-the-dpop-http-header and we will get an update out for you @pankaj-sp @paulbastian shorty. |
|
Hey @pankaj-sp https://github.com/eu-digital-identity-wallet/eudi-lib-ios-openid4vci-swift/releases/tag/v0.12.1 ^ This release addresses the dpop header issue; A wallet-kit version that includes this will be released too. Thanks! |
Description of change
I was getting error for invalid_dpop_proof as dpopNonce was not being passed in authorizeWithAuthorizationCode.
After making above fixes, it was still failing because of incorrect format of DPOP_NONCE_HEADER in Constant.swift file
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: