-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappsettings.json
29 lines (27 loc) · 1.19 KB
/
appsettings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"AzureAd": {
"Instance": "https://login.microsoftonline.com/",
"Domain": "[Enter tenant name, e.g. contoso.onmicrosoft.com]",
"TenantId": "[Enter the tenant/directory id, e.g. 4d39e77c-b0f3-4253-ae0b-7068ddd47949]",
"ClientId": "[Enter client ID of the first app as obtained from Azure Portal, e.g. 82692da5-a86f-44c9-9d53-2f88d52b478b]",
"CallbackPath": "/signin-oidc",
"SignedOutCallbackPath ": "/signout-callback-oidc",
// To call an API
"ClientSecret": "[Enter app key of the first app as obtained from Azure Portal, e.g. rZJJ9bHSi/cYnYwmQFxLYDn/6EfnrnIfKoNzv9NKgbo]"
},
/*
To try the sample locally on your development machine, if you have installed Visual Studio you can
use the following connection string
"TokenCacheDbConnStr": "Data Source=(LocalDb)\\MSSQLLocalDB;Database=MY_TOKEN_CACHE_DATABASE;Trusted_Connection=True;"
*/
"ConnectionStrings": {
"TokenCacheDbConnStr": "[Enter the Sql server connection string, e.g. Server=MY_SQL_SERVER;Database=MY_TOKEN_CACHE_DATABASE;Trusted_Connection=True;"
},
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"AllowedHosts": "*",
"GraphApiUrl": "https://graph.microsoft.com"
}