Skip to content

Commit 4cad6fc

Browse files
committed
fix app settings
1 parent 2363ba1 commit 4cad6fc

File tree

3 files changed

+21
-22
lines changed

3 files changed

+21
-22
lines changed
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
22
"Instance": "https://login.microsoftonline.com/{0}",
3-
"Tenant": "msidentitysamplestesting.onmicrosoft.com",
4-
"ClientId": "d1d78929-6272-443f-8958-696dff81a58d",
5-
"ClientSecret": "cuZrQCwRuoGt/eYA1XVLC0iuJyAARxxq/j+kwkjRJ1U=",
6-
"CertificateName": "[Or instead of client secret: Enter here the name of a certificate (from the user cert store) as registered with your application]",
7-
"TodoListBaseAddress": "https://localhost:44372",
8-
"TodoListScope": "api://6e16a83a-a554-4080-9bb9-ce495399292c/.default"
3+
"ApiUrl": "https://graph.microsoft.com/",
4+
"Tenant": "[Enter here the tenantID or domain name for your Azure AD tenant]",
5+
"ClientId": "[Enter here the ClientId for your application]",
6+
"ClientSecret": "[Enter here a client secret for your application]",
7+
"CertificateName": "[Or instead of client secret: Enter here the name of a certificate (from the user cert store) as registered with your application]"
98
}
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"AzureAd": {
3-
"Instance": "https://login.microsoftonline.com/",
4-
"ClientId": "6e16a83a-a554-4080-9bb9-ce495399292c",
5-
"Domain": "msidentitysamplestesting.onmicrosoft.com",
6-
"TenantId": "7f58f645-c190-4ce5-9de4-e2b7acd2a6ab"
7-
},
8-
"Logging": {
9-
"LogLevel": {
10-
"Default": "Warning"
11-
}
12-
},
13-
"AllowedHosts": "*"
2+
"AzureAd": {
3+
"Instance": "https://login.microsoftonline.com/",
4+
"ClientId": "[Enter the Client Id of the service (Application ID obtained from the Azure portal), e.g. ba74781c2-53c2-442a-97c2-3d60re42f403]",
5+
"Domain": "[Enter the domain of your tenant, e.g. contoso.onmicrosoft.com]",
6+
"TenantId": "[Enter 'common', or 'organizations' or the Tenant Id (Obtained from the Azure portal. Select 'Endpoints' from the 'App registrations' blade and use the GUID in any of the URLs), e.g. da41245a5-11b3-996c-00a8-4d99re19f292]"
7+
},
8+
"Logging": {
9+
"LogLevel": {
10+
"Default": "Warning"
11+
}
12+
},
13+
"AllowedHosts": "*"
1414
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"Instance": "https://login.microsoftonline.com/{0}",
3-
"Tenant": "msidentitysamplestesting.onmicrosoft.com",
4-
"ClientId": "d1d78929-6272-443f-8958-696dff81a58d",
5-
"ClientSecret": "cuZrQCwRuoGt/eYA1XVLC0iuJyAARxxq/j+kwkjRJ1U=",
3+
"Tenant": "[Enter here the tenantID or domain name for your Azure AD tenant]",
4+
"ClientId": "[Enter here the ClientId for your application]",
5+
"ClientSecret": "[Enter here a client secret for your application]",
66
"CertificateName": "[Or instead of client secret: Enter here the name of a certificate (from the user cert store) as registered with your application]",
77
"TodoListBaseAddress": "https://localhost:44372",
8-
"TodoListScope": "api://6e16a83a-a554-4080-9bb9-ce495399292c/.default"
8+
"TodoListScope": "api://[Enter_client_ID_Of_TodoListService-v2_from_Azure_Portal,_e.g._2ec40e65-ba09-4853-bcde-bcb60029e596]/.default"
99
}

0 commit comments

Comments
 (0)