Agency SSO iframe test

Postman token → Logon (Agency cookie) → Show iframe. View logs

Popup logon. Logon opens Agency in a small window on agencytest.accountinsight.ai and keeps you on this page. When Agency loads in the popup, close the popup, then click Show iframe.
Tokens are single-use. Get a new token from Postman for every Logon click. If you already used a token, Agency sends you to login.php.

Step 1 — Get token in Postman

  1. POST https://testbackend.accountinsight.cloud/api/Account/Login
    {"Name":"TestAgent","Password":"…"}
  2. GET https://testbackend.accountinsight.cloud/api/Account/SSOToken/jabmo
  3. Copy token. Ignore loginUrl if it says agencybeta — this page uses agencytest.

Step 2 — Logon (set Agency cookie)

Opens a popup → Agency tokenLogin (return /campaigns-list.php). You stay on this page.

Step 3 — Show iframe

Only after step 2 succeeded (you came back to this page, not login.php).

Iframe src: https://agencytest.accountinsight.ai/campaigns-list.php