Seamless Authorization (Standalone Only)

Single sign-on for clients in the standalone solution.

For 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"
  }
}
Not a B2COPY client yet?

Bring B2COPY to your brokerage and grow on autopilot

Launch copy trading, PAMM, and MAM on your existing servers and turn your best traders into a growth engine — with hosting, monitoring, and support included. Not sure where to start? Talk to us and we’ll walk you through it.

2–4 weeks

Time to launch

$0

Infrastructure cost

40%+

Volume increase