Skip to content

Commit abbb861

Browse files
committed
To resolve conflict
1 parent fbe2005 commit abbb861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

5-WebApp-AuthZ/5-2-Groups/Startup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)