Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How to implement MSAL popup Login Mode for Blazor Server?

$
0
0

I want to implement MSAL popup login mode for Blazor Server, but still fail to do so.

Only found a way to use popup login mode for Blazor WebAssembly.

https://learn.microsoft.com/en-us/aspnet/core/blazor/security/webassembly/standalone-with-microsoft-entra-id?view=aspnetcore-8.0

For Blazor WebAssembly is just a simple configuration in program.cs:

builder.Services.AddMsalAuthentication(options =>        {            // ...            options.ProviderOptions.LoginMode = "redirect"; //can choose redirect or popup        });

But for Blazor Server, I still cannot find it.

It is the requirement for me to implement the popup login instead of redirect login.

Your help/view really appreciated

I need to be able to login by using popup login mode instead of redirect.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>