I have AzureADB2C object in ASP .NET MVC application stored in appsettings.json file.
I want to store Azure AzureADB2C object as a Key Vault secret and then access it from Program.cs like so:
builder.Services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme) .AddMicrosoftIdentityWebApp(builder.Configuration.GetSection("AzureADB2C"));
how can I do it?
I implemented cloud authentication in my app using the following instruction