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)
38
38
39
39
// Sign-in users with the Microsoft identity platform
40
40
services . AddAuthentication ( OpenIdConnectDefaults . AuthenticationScheme )
41
- . AddMicrosoftWebApp (
41
+ . AddMicrosoftIdentityWebApp (
42
42
options =>
43
43
{
44
44
Configuration . Bind ( "AzureAd" , options ) ;
@@ -49,7 +49,7 @@ public void ConfigureServices(IServiceCollection services)
49
49
await GraphHelper . ProcessGroupsClaimforAccessToken ( context ) ;
50
50
} ;
51
51
} , options => { Configuration . Bind ( "AzureAd" , options ) ; } )
52
- . AddMicrosoftWebAppCallsWebApi ( Configuration )
52
+ . EnableTokenAcquisitionToCallDownstreamApi ( options => Configuration . Bind ( "AzureAd" , options ) )
53
53
. AddInMemoryTokenCaches ( ) ;
54
54
55
55
//Adds Microsoft Graph Client
You can’t perform that action at this time.
0 commit comments