eclipse-tractusx / managed-identity-wallet

Apache License 2.0
9 stars 22 forks source link

Feature: make self-issued tokens one-time-use only #264

Closed borisrizov-zf closed 6 months ago

borisrizov-zf commented 7 months ago

Description

The self-issued token used in the VP flow carries an access_token (JWT) which MUST have a jti field. This field is currently not checked, when the token is used to retrieve a verifiable presentation. This would enable the requesting party to retrieve the presentation multiple times. To mitigate this, the jti must be logged in a database table and marked as used when the access_token is used.

Acceptance Criteria