dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
34.84k stars 9.84k forks source link

Add Microsoft Identity Platform auth option to the Blazor Web App template #51202

Open danroth27 opened 9 months ago

danroth27 commented 9 months ago

We don't currently support the Microsoft Identity Platform auth option with the Blazor Web App template. We should add it.

devonbushhub commented 3 months ago

@CodeFontana I had the same issue. It is great you have highlighted this for others. I wish the Docs were more up-to-date and had clear explanations

pvanroos commented 1 month ago

Almost June now, any official recommendation/guidance on MS Identity integration for Blazor App targeting .NET 8? Any links to fleshed out samples or documentation?

AnjuliLJ commented 1 month ago

I made a YouTube video for connecting the Blazor Web App with Entra ID: https://www.youtube.com/watch?v=b-8-WV8U0eo. Here's the repo I created for it: https://github.com/AnjuliLJ/CodeWithAnjuli/tree/main/YouTube/ConfigureBlazorEntraID. Hope this helps!

MicroTrendsTom commented 1 week ago

Ok understood as above the Microsoft identity option is missing on the project wizard - the local account only - but can add google and external providers very nice... but we are 4 years invested in Azureb2c so that's not an option to switch ...auci...

Note as expected then with blazor + dotnet 8 - so adding the connected service wizard goes haywire code in wrong places and bin errors

cant wait for dotnet 9 - many ways to skin the cat will do down this route: https://blazorhelpwebsite.com/ViewBlogPost/55