I have a new Blazor Server application in .Net 5.0. Using the setup wizard, I entered the necessary information to connect to a new Azure AD B2C , and created the project. I set up the Azure AD using the following document (as well as the additional steps in the nav bar):
https://learn.microsoft.com/en-us/azure/active-directory-b2c/tutorial-create-tenant
For information that I followed during the setup of the Blazor project, I used these articles:
https://learn.microsoft.com/en-us/aspnet/core/security/authentication/azure-ad-b2c?view=aspnetcore-5.0
https://medium.com/marcus-tee-anytime/azure-ad-b2c-quickstart-with-visual-studio-blazor-563efdff6fdd
With no additional changes to the project or the AD, I ran the Blazor project. Upon running the project, I am redirected to the login screen for the AD instead of the index page with the ability to login. Once logging in, everything works as expected (unless you log off). I verified there are no Authorized tags on the Blazor pages or components. What am I doing wrong?
Thanks,
Michael