WorkspaceApps
Loading workspace session…

Demand Forecast

Partner app workspace

forecast-partner-helopony.vercel.app
Opening partner app…

Bridge inspector

  1. The workspace opens the partner

    The installed manifest gives the host the partner origin, home route and requested permissions. The admin loads the app in a cross-origin iframe.
  2. The app publishes its menu

    Inside the iframe, a MutationObserver watches <workspace-app-nav>. The bridge sends link labels and paths through postMessage. Each side checks the sender’s origin and window. The host renders the sidebar.
  3. The host identifies the session

    Before loading the iframe, the host reads the staff and workspace shown in its header from a first-party session. When the iframe requests a launch assertion, the same session cookie authorizes a signed, 60-second JWT for that staff member, store and app installation.
  4. The partner reads sales

    The partner server presents the assertion and its client credentials at the OAuth token endpoint. The host verifies them and issues a scoped access token for the sales API. Open Authentication in the sidebar to inspect the claims and both HTTP results.
  5. Try a direct visit

    Choose Open partner app directly. In its own tab the partner has no workspace window to issue an assertion. Its forecast endpoint returns HTTP 401 with launch_assertion_required.