File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
5-WebApp-AuthZ/5-2-Groups Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public void ConfigureServices(IServiceCollection services)
3838
3939 // Sign-in users with the Microsoft identity platform
4040 services . AddAuthentication ( OpenIdConnectDefaults . AuthenticationScheme )
41- . AddMicrosoftWebApp (
41+ . AddMicrosoftIdentityWebApp (
4242 options =>
4343 {
4444 Configuration . Bind ( "AzureAd" , options ) ;
@@ -49,7 +49,7 @@ public void ConfigureServices(IServiceCollection services)
4949 await GraphHelper . ProcessGroupsClaimforAccessToken ( context ) ;
5050 } ;
5151 } , options => { Configuration . Bind ( "AzureAd" , options ) ; } )
52- . AddMicrosoftWebAppCallsWebApi ( Configuration )
52+ . EnableTokenAcquisitionToCallDownstreamApi ( options => Configuration . Bind ( "AzureAd" , options ) )
5353 . AddInMemoryTokenCaches ( ) ;
5454
5555 //Adds Microsoft Graph Client
You can’t perform that action at this time.
0 commit comments