Skip to content

[Feature Request] Allow for login popup to be refocused #5006

Open
@taurheim

Description

@taurheim

Core Library

MSAL.js v2 (@azure/msal-browser)

Wrapper Library

Not Applicable

Description

Apologies if this is already supported by the library - I can't seem to find documentation as to how it works (despite being closed as completed in #181)

This is basically the same ask as #181.

Use case

  1. User clicks sign in (application calls loginPopup)
  2. User accidentally or intentionally clicks on the host window, thereby hiding the login popup
  3. User clicks sign in again, host application again calls loginPopup

Current behaviour
Nothing happens, since a popup is already open, MSAL throws interaction_in_progress

Desired behaviour
The existing window is refocused so that the user is brought back into context

Source

Internal (Microsoft)

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureFeature requests.msal-browserRelated to msal-browser packagetracked-internallyBugs that are tracked by Msft internally

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions