Skip to content
Registry StackDocsLatest

Complete eSignet login and render a pre-authorized-code offer

GET
/oid4vci/offer/callback
curl --request GET \
--url 'https://example.com/oid4vci/offer/callback?code=example&state=example'

Public and unauthenticated. Consumes the login state, exchanges the eSignet code with private_key_jwt, validates the id_token, and mints one single-use pre-authorized_code. When configured, the offer also includes one numeric tx_code (PIN) shown out-of-band from the QR. Returns 404 when the pre-authorized-code flow is disabled.

code
required
string
state
required
string

Offer page with the credential offer URI and optional tx_code PIN

Media typetext/html
string

Login state, eSignet code, or id_token is invalid

Media typeapplication/json
object
error
required
string
error_description
string
Examplegenerated
{
"error": "example",
"error_description": "example"
}

Pre-authorized-code flow is disabled

OpenID4VCI issuer failed

Media typeapplication/json
object
error
required
string
error_description
string
Examplegenerated
{
"error": "example",
"error_description": "example"
}