Skip to content

Instantly share code, notes, and snippets.

@manoj-choudhari-git
Last active April 29, 2020 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manoj-choudhari-git/cd3a7ad3edef9d5777a94dac6f6ea6b7 to your computer and use it in GitHub Desktop.
Save manoj-choudhari-git/cd3a7ad3edef9d5777a94dac6f6ea6b7 to your computer and use it in GitHub Desktop.
AppSettings.JSON for Web API secured by Azure AD
{
"AzureAd": {
"Instance": "https://login.microsoftonline.com/",
/*******************************************************
Tenant ID identifying Azure AD instance
Enter 'common', or 'organizations' or the Tenant Id
Obtained from the Azure portal. Select 'Endpoints'
from the 'App registrations' blade
*******************************************************/
"TenantId": "da41245a5-11b3-996c-00a8-4d99re19f292",
/* Application ID from portal */
"ClientId": "5e971e5c-a661-4d82-ba97-935480492129"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment