Autorisation seamless (standalone uniquement)

Single sign-on pour les clients de la solution standalone.

Pour les admins

Standalone solutions only

Seamless authorization is available only for standalone B2COPY solutions.

Seamless authorization lets a client move from your CRM into the B2COPY Web UI without re-entering credentials, by returning a Web UI URL that embeds an authorization token.

Step 1 — get the secret key and redirect url

  1. In the Back Office, go to System → Settings.
  2. Open the Side Auth section and copy the Secret Key and Redirect URL values.

Keep the Secret Key set

If the Secret Key field is empty, set a value and save it. Editing and saving other fields on the Settings page can reset it — re-enter it if that happens.

Step 2 — get the authorization url

POST [host]/api/v1/standalone/auth/getAuthUrl
NameTypeRequiredDescription
account_idstringYesMT login of the client account.
secret_keystringYesThe Secret Key copied from the Back Office.
investment_platform_idstringYesThe investment platform instance (1 for a single MT server).
curl --location --request POST 'https://host.name/api/v1/standalone/auth/getAuthUrl' \
--data-raw '{
  "account_id": "77632289",
  "secret_key": "Password1234!",
  "investment_platform_id": "1"
}'

Response

The Web UI URL with an embedded token, in the form https://{domain_name}/{token}.

{
  "status": 200,
  "data": {
    "url": "https://my4.b2copy-demo.com/f5f9470def7b9b9b96b2427a6ebbd8c2"
  }
}
Pas encore client B2COPY ?

Apportez B2COPY à votre courtage et croissez en pilote automatique

Lancez le copy trading, PAMM et MAM sur vos serveurs existants et transformez vos meilleurs traders en moteur de croissance — avec hébergement, monitoring et support inclus. Vous ne savez pas par où commencer ? Parlez-nous et nous vous guiderons.

2–4 semaines

Délai de lancement

$0

Coût d’infrastructure

40%+

Augmentation du volume