DC API Sessions
DC API Sessions enable server-to-server verification using the Digital Credentials API.
The thin client architecture keeps credential handling server-side:
- Create a session to get encryption keys and request configs
- Your frontend uses the Digital Credentials API to request credentials
- POST the encrypted response back to verify and extract claims
Benefits:
- No credential data exposed to frontend JavaScript
- Cryptographic binding via session transcript
- Works with Chrome/Android (OpenID4VP) and Safari/iOS (mdoc)
Sessions expire after 5 minutes and are single-use.