Wait @mela, the article and its sample project are for .NET 7.0.
.NET 8 changes the Blazor hosting model. You can move seamlessly from Server to WASM at the component level. So, the approach used in this article may not work.
Currently, there are no official guidelines on how to deal with external OIDC providers (I’m still exploring this).
See this thread on this topic.