title: IdentityServer4 API Use of Bearer Access Token Redirects to Login
body: <p>I am using <a href="https://commercial.abp.io/" rel="nofollow noreferrer">ABP Commercial</a> which comes with Identity Server 4, and I am having trouble allowing access to an API Endpoint.</p>
  <p>I have used ABP to configure a Client which has an API Resource, and I am able to successfully request a Bearer access token, and it contains the scope I expect.</p>
  <p>The problem is that I can't seem to use the Bearer token to gain access to my API endpoint. What happens is my request is redirected to the default login page and the API endpoint is not hit.</p>
  <p>I have tried many different things including decorating the API endpoint method with the <code>[Authorize]</code> tag.</p>
  <p>Part of the problem is ABP abstracts away some of the Identity Server stuff and so the default tutorial (<a href="http://docs.identityserver.io/en/latest/quickstarts/1_client_credentials.html" rel="nofollow noreferrer">reference</a>) does not seem to apply completely.</p>