I did encounter some issues with the example application. It appears to be incomplete and take a different tact than that taken in https://github.com/FBoucher/AzureStaticWebApp-CSharp-SimpleDemo. There are still some unresolved CS8618 warnings. Logout functionality is not complete.
If there is any interest, I can resolve the outstanding issues with the example.
Thanks for the PR - I'm undergoing some maintenance of this project and have used it as a starting point for #9 which also addresses some of the local dev loop.
As per https://github.com/Azure/azure-app-service-authentication/issues/6#issuecomment-1141456686 in #6, I upgraded the projects to .net 6 and tested them locally using SWA CLI.
I did encounter some issues with the example application. It appears to be incomplete and take a different tact than that taken in https://github.com/FBoucher/AzureStaticWebApp-CSharp-SimpleDemo. There are still some unresolved CS8618 warnings. Logout functionality is not complete.
If there is any interest, I can resolve the outstanding issues with the example.