/discovery
Discovery document for standards-aware clients.
OB3 reference
Reference for wallet import flows using OpenID4VCI, public badge offers, and browser wallet actions.
Discovery document for standards-aware clients.
Credential read access for the authenticated subject.
Profile synchronization for issuer-managed records.
Pre-authorized code flow for wallet retrieval without requiring the learner to manage OAuth clients.
Compatible browser wallet flows can begin directly from the public badge experience.
Every exchange begins from the public badge URL and the signed credential record behind it.
Learners can scan the credential-offer QR code or open a mobile deep link using the
openid-credential-offer:// scheme.
Compatible browsers can use wallet buttons directly, and JSON-LD downloads remain available for controlled manual import.
Issuer discovery document exposed for wallet and exchange clients.
Creates a new credential offer from a public badge identifier.
Returns the offer payload associated with the public badge record.
Exchanges a pre-authorized code for a short-lived wallet access token.
Returns the signed Open Badges 3.0 credential response body to the wallet client.
Provides human-readable alias access to the JSON-LD credential for supported manual import flows.
Cache-Control: no-store.Create an offer. Generate the credential offer from a public badge identifier that resolves to an issued record.
Exchange the pre-authorized code. Wallet clients redeem the code for a short-lived access token.
Fetch the credential payload.
The wallet requests the credential in ldp_vc format and stores the DataIntegrityProof-signed
JSON-LD artifact locally.
curl -sS https://credtrail.org/credentials/offer \ -H "content-type: application/json" \ -d '{"badgeIdentifier":"40a6dc92-85ec-4cb0-8a50-afb2ae700e22"}' | jqcurl -sS https://credtrail.org/credentials/v1/token \ -H "content-type: application/x-www-form-urlencoded" \ -d "grant_type=urn:ietf:params:oauth:grant-type:pre-authorized_code&pre-authorized_code=$PRE_AUTH_CODE" | jqcurl -sS https://credtrail.org/credentials/v1/credentials \ -H "Authorization: Bearer $OID4VCI_ACCESS_TOKEN" \ -H "content-type: application/json" \ -d '{"format":"ldp_vc"}' | jq