1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

I am not able to login using MSAL angular . Please find issue details below

Discussão em 'Angular' iniciado por Akash Gupta, Setembro 16, 2024.

  1. Akash Gupta

    Akash Gupta Guest

    [​IMG]


    "@azure/msal-angular": "^2.0.1", "@azure/msal-browser": "^2.15.0",
    ​

    this.msalBroadcastService.msalSubject$
    .pipe(
    takeUntil(this.\_destroying$)
    ).subscribe(val =\> console.log('SUBJEECT', val));

    this.msalBroadcastService.inProgress$
    .pipe(
    tap((status: InteractionStatus) => console.log('MSAL STATUS', status)),
    filter((status: InteractionStatus) => status === InteractionStatus.None),
    takeUntil(this._destroying$)
    )
    .subscribe((val) => {
    this.setLoginDisplay();
    })

    this.login()


    ERROR Error: Uncaught (in promise): BrowserAuthError: interaction_in_progress: Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API. For more visit: aka.ms/msaljs/browser-errors.
    ​

    Continue reading...

Compartilhe esta Página