I have AzureADB2C object in my ASP.NET MVC application stored in the 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