italia / eudi-wallet-it-docs

Italian EUDI Wallet Technical Specifications
Creative Commons Zero v1.0 Universal
56 stars 20 forks source link

[Relying Party Solution - Remote Flow - Authorization Response Details] #359

Closed pietroACN closed 4 months ago

pietroACN commented 4 months ago

In this process the Wallet Instance sends the Authorization Response to the Relying Party. It would be necessary to clarify the "response " format changing the example set here from "Below is a non-normative example of the decrypted JSON response content" to "Below is a non-normative example of the decrypted payload of the JWT, before base64url encoding and signing"

Zicchio commented 4 months ago

"Below is a non-normative example of the decrypted payload of the JWT, before base64url encoding and signing

(emphasis mine)

Unleass I am missing something (which might indeed be the case), the current version of the specifications does not suggest that the Authorization Response is signed. OIDC4VP allows as an option encrypted but not signed responses see here and the example in the italian specifications follows the requirement of an unsigned response, as it doesn't have iss, exp, or aud claims.

If the response is indeed signed, in my opinion the specs should furhter stress it and provide an aligned example.