CONNECT_POPUP_BLOCKED

The browser blocked the sign-in window.

HTTP status: none (PyasConnect reports this error in the browser). Retrying the same request may succeed.

What to do

Call open() directly from the click handler. Where pop-ups don't work, such as in in-app browsers, set mode="redirect" and use a session that has a returnUrl.

Hint returned with the error: Open the widget directly from a click handler, or use redirect mode.

Why it happens

  • open() or the connect button was called after an await, outside the click handler
  • A strict pop-up blocker or an in-app browser