Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created January 25, 2017 05:40
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 justinyoo/241c7d40e865682ea0be65b3fbd8ba0e to your computer and use it in GitHub Desktop.
Save justinyoo/241c7d40e865682ea0be65b3fbd8ba0e to your computer and use it in GitHub Desktop.
Adding YAML Settings into ASP.NET Core Apps
// appsettings.json
{
"authentication": {
"azureAd": {
"aadInstance": "https://login.microsoftonline.com/",
"domain": "",
"tenantId": "",
"clientId": "FROM appsettings.json",
"clientSecret": "",
"callbackPath": ""
}
},
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment