Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider usage of .NET 9 Blazor APIs for authentication state management #1694

Open
josephdecock opened this issue Dec 16, 2024 · 1 comment
Labels
area/bff Related to all BFF
Milestone

Comments

@josephdecock
Copy link
Member

.NET 9 added some new types related to authentication, and we might want to use those too.

See https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-9.0?view=aspnetcore-9.0#simplified-authentication-state-serialization-for-blazor-web-apps

Probably we don't want to do anything here, because we want to support both .NET 8 and 9 for now, but we should take a look.

@josephdecock josephdecock added this to the bff-3.0.0 milestone Dec 16, 2024
@Erwinvandervalk Erwinvandervalk transferred this issue from DuendeSoftware/BFF Jan 6, 2025
@Erwinvandervalk Erwinvandervalk added the area/bff Related to all BFF label Jan 6, 2025
@Erwinvandervalk Erwinvandervalk modified the milestones: bff-3.0.0, bff-future Feb 4, 2025
@Erwinvandervalk Erwinvandervalk changed the title Consider usage of .NET 9 Blazor APIs Consider usage of .NET 9 Blazor APIs for authentication state management Feb 4, 2025
@Erwinvandervalk
Copy link
Contributor

@josephdecock, I'm moving this to milestone 'bff-future' for exactly the reason you describe (the blazor .net 8 compatibility). These blazor api improvements are only in .net 9 and would do the same thing as we're doing here. It's more code to maintain, but keeps it compatible.

We can reconsider once we drop support for blazor 8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bff Related to all BFF
Projects
None yet
Development

No branches or pull requests

2 participants