Is the Acceptance Token One-Time Use?

Issue #1940 resolved
Fabian Hauck created an issue

It is not clear to me from the Credential Issuance spec whether the acceptance_token is one-time use or not. I would guess that it should be used only once to obtain the previously requested credential, but I think this is not explicitly mentioned in the specification. I think this might lead to developers forgetting to invalidate a used acceptance_token. Any thoughts on this?

Comments (8)

  1. Kristina Yasuda

    My assumption was that transaction_id (acceptance_token was renamed to transaction_id) is one-time use. because a new transaction_id is returned in each credential response/deferred credential response.

    Assuming access token is valid to issue three credentials from the credential endpoint, the Wallet needs to make three credential requests, the wallet will receive an Nth transaction_id in the credential response that it can use in (N+1)th credential request

  2. Fabian Hauck reporter

    But isn't it still one-time use because if there was an error, it would not have been used to issue a credential. Once the credential is issued, it should not be reusable, right? Maybe this needs to be specified.

  3. Log in to comment