Skip to Content
Platforms

Finish a cTrader Broker SSO login

Use this method on the broker's login/signup screen opened inside a cTrader app, right after the client has logged in or signed up. The response contains the success URL with a one-time token. Open it in the same window: cTrader takes the token from there and logs the client in to the trading app. The token expires in one minute and can be used only once. Returns `404` when cTrader Broker SSO is not set up for the white label.

POST
/api/v2/my/ctrader/broker-sso/login-token

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v2/my/ctrader/broker-sso/login-token" \  -H "Content-Type: application/json" \  -d '{    "whitelabel": "string"  }'
{  "successUrl": "http://example.com"}