Skip to content

Commit b246a80

Browse files
committed
removing unneeded changes
1 parent 04cd23e commit b246a80

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

1-WebApp-OIDC/1-3-AnyOrgOrPersonal/appsettings.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"AzureAd": {
33
"Instance": "https://login.microsoftonline.com/",
4-
"Domain": "msidlab3.onmicrosoft.com",
5-
"TenantId": "8e44f19d-bbab-4a82-b76b-4cd0a6fbc97a",
6-
"ClientId": "d9cde0be-ad97-41e6-855e-2f85136671c1",
4+
"Domain": "[Enter the domain of your tenant, e.g. contoso.onmicrosoft.com]",
5+
"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]",
6+
"ClientId": "[Enter the Client Id (Application ID obtained from the Azure portal), e.g. ba74781c2-53c2-442a-97c2-3d60re42f403]",
77
"CallbackPath": "/signin-oidc",
88
"SignedOutCallbackPath": "/signout-callback-oidc"
99
},

3-WebApp-multi-APIs/appsettings.json

+12-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
1-
{
1+
{{
22
"AzureAd": {
33
"Instance": "https://login.microsoftonline.com/",
4-
"Domain": "msidlab3.onmicrosoft.com",
5-
"TenantId": "8e44f19d-bbab-4a82-b76b-4cd0a6fbc97a",
6-
"ClientId": "d9cde0be-ad97-41e6-855e-2f85136671c1",
4+
"Domain": "[Enter the domain of your tenant, e.g. contoso.onmicrosoft.com]",
5+
"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]",
6+
"ClientId": "[Enter the Client Id (Application ID obtained from the Azure portal), e.g. ba74781c2-53c2-442a-97c2-3d60re42f403]",
77
"CallbackPath": "/signin-oidc",
8-
"SignedOutCallbackPath": "/signout-callback-oidc"
8+
"SignedOutCallbackPath": "/signout-callback-oidc",
9+
10+
// To call an API
11+
"ClientSecret": "[Copy the client secret added to the app from the Azure portal]"
12+
913
},
1014
"Logging": {
1115
"LogLevel": {
12-
"Default": "Information",
13-
"Microsoft": "Warning",
14-
"Microsoft.Hosting.Lifetime": "Information"
16+
"Default": "Information",
17+
"Microsoft": "Warning",
18+
"Microsoft.Hosting.Lifetime": "Information"
1519
}
1620
},
1721
"AllowedHosts": "*",

0 commit comments

Comments
 (0)