AuthenticationService.ts used in Microsoft.Authentication.WebAssembly.Msal missing popup-Api
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
The AuthenticationService.ts used in `namespace Microsoft.Authentication.WebAssembly.Msal` does not try to use the popup api on signout.
I would assume that the `redirect_in_iframe` error would be resolved by adding the popup mechanism.
[This is AuthenticationService.ts i looked at.](https://github.com/dotnet/aspnetcore/blob/29c9acc509e938a978f7d286c356af1796cfae54/src/Components/WebAssembly/Authentication.Msal/src/Interop/AuthenticationService.ts)
The general problem is that i am able to sign in with my Blazor Wasm application which does fallback to the popup api (in an iframe) for signing in. But for signout it doesn't.
The `AuthenticationService.ts` doesn't include any signout specific popup calls. For log in it does fallback though.
Adding the fallback mechanism therefore should resolve `redirect_in_iframe` thrown in an iframe while signing out.
_Originally posted by @tts-jwiebe in https://github.com/dotnet/aspnetcore/issues/54665#issuecomment-2012798739_
Contributor guide
Assessment
This issue has not been assessed yet.