question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BrowserAuthError: interaction_in_progress: Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API.

See original GitHub issue

The issue started occurring after upgrading, msal-browser library from 2.7.0 to 2.10.0 The issue looks similar to mentioned here.

Reproducing Scenario:

  1. User visits the application site and login page is displayed
  2. User does nothing and just cancels the tab
  3. User revisits the site
  4. Instead of redirection page gets stuck and throws the below error in the console.

Auth.js:140 BrowserAuthError: interaction_in_progress: Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API. at t [as constructor] (https://app.skypointcloud.com/static/js/main.75fef40c.js:1:2199109) at new t (https://app.skypointcloud.com/static/js/main.75fef40c.js:1:2303388) at Function.t.createInteractionInProgressError (https://app.skypointcloud.com/static/js/main.75fef40c.js:1:2304597) at t.e.preflightInteractiveRequest (https://app.skypointcloud.com/static/js/main.75fef40c.js:1:2355540) at t.<anonymous> (https://app.skypointcloud.com/static/js/main.75fef40c.js:1:2345343) at n (https://app.skypointcloud.com/static/js/main.75fef40c.js:1:2188814) at Object.next (https://app.skypointcloud.com/static/js/main.75fef40c.js:1:2188118) at https://app.skypointcloud.com/static/js/main.75fef40c.js:1:2188052 at new Promise (<anonymous>) at r (https://app.skypointcloud.com/static/js/main.75fef40c.js:1:2187849)

The issue is reproducible in 2.10.0 version.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9

github_iconTop GitHub Comments

3reactions
SamuelQZQcommented, Feb 7, 2021

@tnorling I met the same issue:

BrowserAuthError: interaction_in_progress: Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API.
    at BrowserAuthError.AuthError [as constructor] (https://localhost:44335/vendors~main.a449b91f42861068100e.js:237:24)
    at new BrowserAuthError (https://localhost:44335/vendors~main.a449b91f42861068100e.js:6567:28)
    at Function.push../node_modules/@azure/msal-browser/dist/index.es.js.BrowserAuthError.createInteractionInProgressError (https://localhost:44335/vendors~main.a449b91f42861068100e.js:6610:16)
    at PublicClientApplication.push../node_modules/@azure/msal-browser/dist/index.es.js.ClientApplication.preflightInteractiveRequest (https://localhost:44335/vendors~main.a449b91f42861068100e.js:9691:36)
    at PublicClientApplication.<anonymous> (https://localhost:44335/vendors~main.a449b91f42861068100e.js:9235:45)
    at step (https://localhost:44335/vendors~main.a449b91f42861068100e.js:101:23)
    at Object.next (https://localhost:44335/vendors~main.a449b91f42861068100e.js:82:53)
    at https://localhost:44335/vendors~main.a449b91f42861068100e.js:75:71
    at new Promise (<anonymous>)
    at __awaiter (https://localhost:44335/vendors~main.a449b91f42861068100e.js:71:12)

Even if I upgrade to 2.11.0, the issue still exists.

1reaction
tnorlingcommented, Feb 3, 2021

@prkhandelwal Nevertheless I’m still going to need more information than what has been provided. Please open a new issue and make sure to fill out one of our provided issue templates so that our livesite engineer has enough information to debug.

Read more comments on GitHub >

github_iconTop Results From Across the Web

BrowserAuthError: interaction_in_progress: Interaction is ...
Please ensure that this interaction has been completed before calling an interactive API. import * as msal from "@azure/msal-browser"; const ...
Read more >
BrowserAuthError: interaction_in_progress - Unable to fix ...
Please ensure that this interaction has been completed before calling an interactive API. For more visit: aka.ms/msaljs/browser-errors.
Read more >
interaction_in_progress" in SPA with MSAL redirect and iframe
BrowserAuthError : interaction_in_progress: Interaction is currently in progress. Please ensure that this interaction has been completed ...
Read more >
MSAL2.0 Errors and their Resolution | by Roma Rathi | Medium
Error : BrowserAuthError: interaction_in_progress: Interaction is currently in progress. Please ensure that this interaction has been completed ...
Read more >
angular msal refresh token | The AI Search Engine You Control
You should use a loginXXXXX or acquireTokenXXXXX (interactive) API before this ... Please ensure that this interaction has been completed before calling an ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found