Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issuance flow]: added error management #225

Merged
merged 3 commits into from
Mar 4, 2024

Conversation

fmarino-ipzs
Copy link
Collaborator

Title

[Issuance flow]: added error management

Content

In this PR I clarify how to handle the HTTP Error Response in case of an invalid

  • PAR Request
  • Authorization Request
  • Token Request
  • Credential Request

I also fixed some typos (link to the OID4VCI, reference to a table) and I made some minor editorial fixes.

This PR closes #139

Review

  • Ensure your files are written following RST specs (not MD!)
  • Italian version
  • English version
  • Example files
  • Ask for review

@fmarino-ipzs fmarino-ipzs added enhancement Something improving existing features issuance labels Mar 1, 2024
@fmarino-ipzs fmarino-ipzs added this to the 0.6.0 milestone Mar 1, 2024
docs/en/pid-eaa-issuance.rst Outdated Show resolved Hide resolved
* - **c_nonce_expires_in**
- JSON integer corresponding to the **c_nonce** lifetime in seconds.
- `[OIDC4VCI. Draft 13] <https://openid.bitbucket.io/connect/openid-4-verifiable-credential-issuance-1_0.html>`_.
- `[OIDC4VCI. Draft 13] <https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html>`_.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vedo questo link riportato spesso, che ne pensi se registrassimo un tag e andassimo by ref?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sì ci avevo pensato anche perché sarebbe più comodo nel caso di eventuali future modifiche della url. Appena riesco lo faccio

Comment on lines +954 to +957
If the Credential Request is invalid, the PID/(Q)EAA Provider MUST return an error response as defined in `[OIDC4VCI. Draft 13] <https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#section-7.3.1.2>`. The response MUST use the content type *application/json* and MUST include the following parameters:

- *error*. The error code.
- *error_description*. Text in human-readable form providing further details to clarify the nature of the error encountered.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

come prima

fmarino-ipzs and others added 2 commits March 2, 2024 21:28
Co-authored-by: Giuseppe De Marco <[email protected]>
Co-authored-by: Giuseppe De Marco <[email protected]>
@peppelinux peppelinux merged commit a83cf2a into versione-corrente Mar 4, 2024
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something improving existing features issuance
Projects
Development

Successfully merging this pull request may close these issues.

[Issuance flow]: Error Management
3 participants