B2C - Blazor -Azure Functions on local dev maching

Michael Lambert 1 Reputation point

I currently developing a Blazor app on my local machine that authenticates to B2C (that works fine). I also have a Function App with several APIs that the Blazor app calls to that make requests to a SQL server and BLOB storage. The Function app needs access to the 'sub' claim in the token. I've set up the App Registrations for both the Blazor app and Function app in B2C and expose and set permissions for API, but I'm missing something in getting Blazor app connected to the function app with all this running on my local machine for dev(if that even possible?). It all works fine calling the functions anonymously, but I need the login user info within the Function app to make calls out to the SQL server. Any help guidance is much appreciated.


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,759 questions
{count} votes