diff --git a/IssueVerifiableEmployee/Startup.cs b/IssueVerifiableEmployee/Startup.cs index 8aba19d..74a3230 100644 --- a/IssueVerifiableEmployee/Startup.cs +++ b/IssueVerifiableEmployee/Startup.cs @@ -32,7 +32,7 @@ public void ConfigureServices(IServiceCollection services) .AddMicrosoftIdentityWebApp(Configuration.GetSection("AzureAd")) .EnableTokenAcquisitionToCallDownstreamApi(new string[] { "user.read"}) .AddMicrosoftGraph() - .AddSessionTokenCaches(); + .AddDistributedTokenCaches(); services.AddAuthorization(options => {