Trading Widget Authentication
Use partner-token for new embedded trading SSO integrations.
Recommended mode: partner-token
partner-token avoids putting short tokens in URLs and keeps apiSecret on the partner backend.
Related documentation
- Create Embed Token: backend token issuance example.
- Trading Widget Quick Start: complete initialization flow.
- Secrets & Signing: keep privileged Agent credentials on the backend.
- Troubleshooting: diagnose session, token, origin, and initialization failures.
Backend flow
tokenProvider contract
Failure handling
Compatibility mode: agent-sso
agent-sso keeps the older /agent-entry ticket flow. Prefer partner-token for new integrations.