-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up public api for web app #71
Conversation
…sProtectedWebApi Remove obsolete methods Update test apps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Thanks @jennyf19
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
builder.Services.Configure(openIdConnectScheme, configureOptions); | ||
builder.Services.Configure<MicrosoftIdentityOptions>(options => configuration.Bind(configSectionName, options)); | ||
builder.Services.Configure(openIdConnectScheme, configureOpenIdConnectOptions); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: remove extra line. #Resolved
|
||
var microsoftIdentityOptions = configuration.GetSection(configSectionName).Get<MicrosoftIdentityOptions>(); | ||
var b2COidcHandlers = new AzureADB2COpenIDConnectEventHandlers(openIdConnectScheme, microsoftIdentityOptions); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: I think it should be b2cOidcHandlers
since B2C is one acronym. #Resolved
|
||
services.Configure<OpenIdConnectOptions>(openIdConnectScheme, options => | ||
{ | ||
// Response type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: perhaps redundant comment? #Resolved
AddSignIn
andAddWebAppCallsWebApi
Part of [Investigate] Investigate the use of the ConfidentialClientOptions and MicrosoftIdentityOptions in TokenAcquisition #37