Closed guillaumejay closed 1 year ago
The solution for this is to use the UpdateOptions parameters of AddMicrosoftIdentityWebApp
Maybe the documentation could be clearer ?
Anyway thanks for adding this possibility, great job !
Thanks @guillaumejay Would you like to provide a link on an example where you made it work?
Microsoft.Identity.Web Library
Microsoft.Identity.Web
Microsoft.Identity.Web version
2.11.1
Web app
Sign-in users and call web APIs
Web API
Not Applicable
Token cache serialization
In-memory caches
Description
I'm trying to connect the test/devapps/asp.net MVC/OwinWebApp application to our Azure AD B2C and there is several issues in the AppBuilderExtension method in Microsoft.Identity.Web.Owin : when creating the OpenIdConnectAuthenticationOptions required for UseOpenIdConnectAuthentication :
Reproduction steps
1 I think just trying to connect to an AzureADB2C domain should show at least the replyurl problem
Error message
No response
Id Web logs
No response
Relevant code snippets
Regression
No response
Expected behavior
I'd like to able to see my Owin configuration in settings replyurl, scope, and SignUpSignInPolicyId used correctly.
By modifying this code locally I was able to make it work.