Skip to content

Commit ddc7231

Browse files
multco-malanjmprieur
authored andcommitted
Update README.md (#125)
Correct reference: change appsettings.js to appsettings.json
1 parent 1dee265 commit ddc7231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-WebApp-graph-user/2-2-TokenCache/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public void ConfigureServices(IServiceCollection services)
102102
The aforementioned four lines of code are explained below.
103103

104104
1. The first two lines enable MSAL.NET to hook-up to the OpenID Connect events to redeem the authorization code obtained by the ASP.NET Core middleware. After obtaining a token for Microsoft Graph, it saves it into the token cache, for use by the Controllers.
105-
1. The last two lines hook up the Sql server database based token caching solution to MSAL.NET. The Sql based token cache requires a **Connection string** named `TokenCacheDbConnStr` available in the **ConnectionStrings** collections of the **appsettings.js** configuration file.
105+
1. The last two lines hook up the Sql server database based token caching solution to MSAL.NET. The Sql based token cache requires a **Connection string** named `TokenCacheDbConnStr` available in the **ConnectionStrings** collections of the **appsettings.json** configuration file.
106106

107107
The files `MSALAppSqlTokenCacheProvider.cs` and `MSALPerUserSqlTokenCacheProvider` of the `Microsoft.Identity.Web` project contains the app and per-user token cache implementations that use Sql server as the token cache.
108108

0 commit comments

Comments
 (0)