Codice di DEMO per l'articolo Autenticazione con Azure AD B2C in Blazor pubblicato su Blazor Developer Italiani.
- .NET 6 SDK
- Account Azure
Una volta configurato il tenant Active Directory B2C sul Portal di Azure è sufficiente modificare i file:
e sostituire i placeholder con i valori presi dalla configurazione del servizio. A questo punto è sufficiente eseguire l'applicazione e verificare che la pagina /fetchdata sia visibile solo in caso di utente autenticato.
Qualsiasi genere di feedback è sempre bene accetto. Sentitevi liberi di aprire issue, forkare e fare pull request :)