You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[OID4VCI] Issuer-initiated credential offer state is removed after the first credential request, breaking multi-credential issuance #50889
I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
oid4vc
Describe the bug
In the issuer_initiated OID4VCI flow, the credential offer state is deleted after the first successful credential issuance. Any subsequent credential request made with the same access token (same authorized session) then fails, because the token's authorization_details still references the now-removed offer id.
This blocks legitimate multi-request flows, e.g. requesting a second credential (or re-requesting with an encryption parameter / fresh proof) after an initial issuance from an issuer-initiated offer.
Version
Nightly
Regression
The issue is a regression
Expected behavior
A credential offer created via the issuer-initiated (AIA) flow should support multiple credential requests within the lifetime of the authorized session, while the offer URI remains single-use. Offer-URI consumption should be decoupled from the authorization state that later credential requests depend on.
Actual behavior
After the first successful issuance, OID4VCIssuerEndpoint removes the offer state. A second credential request whose token authorization_details still carries the credentials_offer_id then fails with:
INVALID_CREDENTIAL_REQUEST: No credential offer state for: offerId
How to Reproduce?
Enable the OID4VCI feature and create a credential offer via the issuer-initiated / AIA path (offer with no target client, as in the conformance suite).
Complete the authorization code flow and obtain an access token whose authorization_details reference the offer id.
Send a credential request to the credential endpoint. This succeeds but the offer state is removed.
Send a second credential request with the same access token (e.g. requesting an encrypted credential response). This fails with No credential offer state for: offerId.
Note: the same encrypted "second request" scenario passes under the wallet_initiated flow, so the failure is specific to the issuer-initiated offer-state coupling.
Anything else?
#50577 has to exclude the variant issuer_initiated / encrypted variant of oid4vci-1_0-issuer-happy-flow because this variant makes a second credential request in the same authorized flow, which currently fails.
Activity
forkimenjeckayang commentedon Jul 24, 2026
Hello @dominikschlosser
Check this #48586
Especially @mposolda last comment on this : #48586 (review)
mposolda commentedon Aug 26, 2026
Closing as I think this is already resolved in latest main - see last comment from @forkimenjeckayang .
@dominikschlosser Feel free to re-open if still an issue.