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.