Azure-Samples / active-directory-dotnet-webapp-webapi-openidconnect-aspnetcore

An ASP.NET Core web application that authenticates Azure AD users and calls a web API using OAuth 2.0 access tokens.
119 stars 97 forks source link

cannot access API in this sample #23

Closed zhipenghan closed 6 years ago

zhipenghan commented 6 years ago

I cloned this branch and run as the readme, the api always deny the request.

jmprieur commented 6 years ago

I've improved the readme. you might want to try again after this PR: https://github.com/Azure-Samples/active-directory-dotnet-webapp-webapi-openidconnect-aspnetcore/pull/24