You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "Blazor Server with Auth=B2C" template is using a line of code that is not populating the Identity Options. Changing to the line of code used in other templates (Ex. WebApp) fixes the issue and provides access to the different B2C options, such as EditProfilePolicyId.
Incorrect line of code:
var options = microsoftIdentityOptions.CurrentValue;
Generated from the default template
Correct line of code:
var options = microsoftIdentityOptions.Get(OpenIdConnectDefaults.AuthenticationScheme);