Quick test application based on a question posted to Microsoft Learn for setting up Google Authentication in Blazor.
The differences include:
- Updated to .NET 8
- Cleanup of the logic to properly use
AuthenticationStateProvider
instead ofHttpContextAccessor
, since it's not valid to utilizeHttpContextAccessor
within a Blazor circuit (access is not guaranteed).