Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created January 25, 2017 05:41
Show Gist options
  • Save justinyoo/202d41704820edeab86a1eb19533d2fb to your computer and use it in GitHub Desktop.
Save justinyoo/202d41704820edeab86a1eb19533d2fb to your computer and use it in GitHub Desktop.
Adding YAML Settings into ASP.NET Core Apps
# appsettings.yml
authentication:
azureAd:
aadInstance: https://login.microsoftonline.com/
domain:
tenantId:
clientId: FROM appsettings.yml
clientSecret:
callbackPath:
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment