Iframe integration: Sending commands
Available commands
| Command | Params | Description | 
|---|---|---|
| go | - pathstring | Change url | 
| login-with-token | - tokenstring | Allow login with token | 
| call-custom-oauth-login | - servicestring | Allow login via oauth methods | 
| set-user-status | - statusstring | Set the status of the user | 
| logout | Log the user out of their current session | 
Example
document.querySelector('iframe').contentWindow.postMessage({
  externalCommand: 'go',
  path: '/admin/General'
}, '*')