Why does my Azure AD B2C go into infinite loop on login (localhost)

Lou's World Inc 41 Reputation points
2024-05-09T21:14:43.57+00:00

Followed tutorial (below) to set up a .Net 8 MVC app with an Azure AD B2C signin page. Using a new tenant with user flows. When I test the user flow with reply url, jwt.ms, a token is created. However, when I attempt to test login locally (https://localhost:1234/) the browser gets stuck in an infinite loop. I've tried logging in in private window (incognito)

https://learn.microsoft.com/en-us/aspnet/core/security/authentication/azure-ad-b2c?view=aspnetcore-8.0

@alfredorevilla-msft

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,675 questions
{count} votes