Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

AspNetCore Blazor Web App Example for .net 8 connection to external Identity Server #1024

Closed
gizmohd opened this issue Dec 4, 2023 · 5 comments

Comments

@gizmohd
Copy link

gizmohd commented Dec 4, 2023

Which version of Duende IdentityServer are you using?
6.3.5

Which version of .NET are you using?
8.0

Describe the bug
Blazor Aspnet core 8 revamped their authentication and because of that the way we were doing authentication in 6 & 7 for Blazor does not work.
Can we get an updated example on getting the new unified Blazor authenticating with Duende Identity Server?

@gizmohd gizmohd changed the title AspNetCore Blazor Server Side Example for .net 8 connection to external Identity Server AspNetCore Blazor Web App Example for .net 8 connection to external Identity Server Dec 6, 2023
@josephdecock
Copy link
Member

We are actively working on producing new samples and guidance for Blazor in .NET 8. We have an open issue in our samples repo and hope to have updates to share soon.

@josephdecock josephdecock self-assigned this Dec 11, 2023
@Sen-Gupta
Copy link

@josephdecock

Thanks for taking over the sample production.

Is there an expected time of availability?

This blocks our POC for .Net 8 Blazor Web App.

Thanks

@glazkovalex
Copy link

glazkovalex commented Jan 12, 2024

We are actively working on producing new samples and guidance for Blazor in .NET 8. We have an open issue in our samples repo and hope to have updates to share soon.

You have not been able to post an example of using your paid server for a month!
You need to work faster!

@leastprivilege
Copy link
Member

leastprivilege commented Jan 16, 2024

Unfortunately Microsoft did not make testing/guidance for common security scenarios a priority for Blazor Web Apps (aka auto rendering). It is their product, not ours.

Many people also complain over at the Microsoft issue tracker about the lack of OOB support of OpenID Connect in general and Entra ID(former Azure AD) in particular, which is Microsoft's identity system. See here.

That being said, there is some movement now and there is a work-in-progress sample from Microsoft here. We have had a look at it, and it is a good start. We think it can be improved, which we will do in the coming weeks.

For now, feel free to use that sample as a starting point (you can wire up other token servers including IdentityServer). Also please give Microsoft feedback if you have suggestions for improvements.

@josephdecock
Copy link
Member

In the interest of keeping things organized, I'm closing this along with some other related issues, but feel free to provide feedback and comments in (DuendeSoftware/samples#142)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants