Skip to content

AuthenticationService.ts used in Microsoft.Authentication.WebAssembly.Msal missing popup-Api #54756

@tts-jwiebe

Description

@tts-jwiebe

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.

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 #54665 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-blazor-msalThis issue is related to MSAL usage in Blazor

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions