Authorization flow
The authorization code journey step by step, and what the A3BC interface changes to the standard.
- Your service creates a transaction: it generates
stateandnonceand redirects the user to theauthorizationendpoint. - A3BC triggers authentication and consent out of band, in the TrustMe app (by identifier or QR code).
- A3BC redirects the user to your
redirect_uriwith a single-usecodeand thestate. - Your server exchanges the code at the
tokenendpoint and receives anaccess_tokenand anid_token. - You verify the
id_token, read the claims, and call the document API with theaccess_tokenif needed.
A3BC specifics
- The standard
claimsparameter is not supported as is; amandatoryvariant is offered (see Mandatory claims). - Claims requested through scopes are provided if available. If they are missing, the operation still succeeds: no error is raised.
- A single
acr_valuesvalue is accepted and it is enforced (see ACR). - The result can only be retrieved for 30 minutes.
- A transaction only fails if the user does not authenticate, does not consent, cannot satisfy the ACR, or on a technical incident.
Choosing your library
A certified OIDC library handles discovery, URL building, code exchange and id_token validation. With an OAuth 2.0 library, you configure endpoints manually and validate the JWT with a dedicated library. Either way you need: the issuer URL (or endpoints), the redirect_uri, the credentials, the scopes, and optionally acr_values and claims.