Backend
The SDK doesn't create transactions, and doesn't need a proxy. Your backend creates the transaction, and your app passes the result to the SDK.
When the user starts a verification, your backend:
- Makes sure that the user is authenticated.
- Collects the user's consent, if you haven't already.
- Calls
POST /api/v2/transactionon the Agent API, with the workflow ID,"platform": "Android", and the consent. - Returns the
sdkConfigurationfrom the response to your app.
Your API credentials never leave your backend.
Pass sdkConfiguration to the SDK as it is; don't parse or modify it.
It authorizes the SDK for this one transaction, so treat it as a secret, and don't log it.
For an example backend, see No proxy in the migration guide.