title: The audience is invalid error in asp.net core authorization
body: <p>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".</p>
  
  <p>When I try to access <a href="http://localhost:idsport/resource" rel="nofollow noreferrer">http://localhost:idsport/resource</a>, this does not exists.</p>