Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pjirsa/beerapi
https://github.com/pjirsa/beerapi
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pjirsa/beerapi
- Owner: pjirsa
- Created: 2016-09-24T19:03:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-17T15:25:16.000Z (over 7 years ago)
- Last Synced: 2024-10-30T00:33:56.667Z (about 2 months ago)
- Language: PowerShell
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# BeerAPI
## Description
This is a sample project to have fun with dotnet core and ASP.net core 5.## Getting started
1. Edit the appsettings.json in the BeerAPI project.
```
"AzureAd": {
"AadInstance": "https://login.microsoftonline.com/{0}",
"Tenant": "pjirsagmail.onmicrosoft.com",
"Audience": "https://mnbeerapi.azurewebsites.net"
},
```
Change the "Tenant" to be your AzureAD tenant.1. Edit the appsettings.json in the BeerMVC project.
```
"AzureAd": {
"ClientId": "7d726bd5-bd2c-4572-89c2-240c76f6e4b1",
"Tenant": "pjirsagmail.onmicrosoft.com",
"BeerAPIResourceId": "https://mnbeerapi.azurewebsites.net",
"BeerAPIBaseUri": "https://mnbeerapi.azurewebsites.net",
"AadInstance": "https://login.microsoftonline.com/{0}", // This is the public instance of Azure AD
"PostLogoutRedirectUri": "https://localhost:44322/",
"GraphResourceId": "https://graph.windows.net"
}
```
- Change "Tenant" to be your AzureAD tenant.
- Update the "ClientID" with the client id for you Azure AD application.
- Add a "ClientSecret" value with the client secret of your Azure AD application.
- Change URLs of "BeerAPIResourceId", "BeerAPIBaseUri", and "PostLogoutRedirectUri" to reflect your Azure websites.