Skip to content

Grok accounts.x.ai login is blocked inside the Firefox iframe #66

Description

@Manho

Summary

When Grok redirects an embedded panel to accounts.x.ai for authentication, Firefox can refuse to render the page because the login origin does not allow itself to be framed.

Environment

Originally reported in #52:

  • Panelize 1.2.0
  • Firefox stable
  • Windows
  • Self-distributed signed build

Observed behavior

Firefox shows:

accounts.x.ai will not allow Firefox to display the page if another site has embedded it.

Refreshing the Grok panel may work after the user is already signed in.

Expected behavior

Grok authentication should have a supported flow that does not leave the embedded panel on a blocked login page. If authentication cannot safely run inside the iframe, Panelize should offer a clear top-level login fallback and then reload the panel.

Current evidence

  • Panelize embeds https://grok.com/.
  • The current host permissions and iframe response-header rule cover grok.com, but not accounts.x.ai.
  • This is separate from the Grok image-upload changes merged in Fix verified image uploads and failed-panel retries #65.
  • Local reproduction on macOS Firefox 153.0 is currently blocked because the source manifest on main cannot be loaded directly in Firefox (background.service_worker is currently disabled. Add background.scripts.). The original Windows Firefox report therefore still needs confirmation with a Firefox-compatible build.

Investigation checklist

  • Reproduce the redirect and capture the final iframe URL plus response headers on Windows Firefox.
  • Confirm whether the failure occurs only when the Grok session is signed out or expired.
  • Evaluate a top-level login flow before considering any permission or response-header changes for accounts.x.ai.
  • Reload the Grok panel after authentication and verify the session is recognized.
  • Add a regression test for the chosen fallback behavior.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions