2

I am using Identity server4 for authorization and then call the asp.net core api using the Breare access_token I get from the identity server. But I get the error error_description="The audience is invalid". I guess the potential error could be that in the identity server logs it states No endpoint entry found for request path: "/resource".

When I try to access http://localhost:idsport/resource, this does not exists.

GSH
  • 239
  • 1
  • 5
  • 16
  • [My answer here](https://stackoverflow.com/a/44909827/934407) to a similar question might help. – Matt Jul 09 '17 at 11:12

1 Answers1

0

Yes, this error can mean everything. In my case it was using [ValidateAntiForgeryToken] attribute for method. Also incorrect injection additional services. Also Policies/roles/claims issues.

InPickSys
  • 1
  • 1