title: Spring security OAuth - check validity of access token?
body: <p>I am following this sample code from <a href="https://github.com/dsyer/spring-security-angular/tree/master/oauth2-vanilla" rel="noreferrer">Spring Security OAuth</a>.</p>
  
  <p>After I got the access token when I try to check the token</p>
  
  <pre><code>curl -X POST http://localhost:9999/uaa/oauth/check_token -d "token=e3f44c4f-f8f2-45c4-9f9e-c7dd1f583a1f"
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>{"error":"unauthorized","error_description":"Full authentication is required to access this resource"}
  </code></pre>
  
  <p>I tried passing client id and secret.</p>
  
  <pre><code>curl -X POST acme:acmesecret@localhost:9999/uaa/oauth/check_token -d "token=e3f44c4f-f8f2-45c4-9f9e-c7dd1f583a1f"
  </code></pre>
  
  <p>I get 403 status. </p>
  
  <pre><code>{"timestamp":1437683976536,"status":403,"error":"Forbidden","message":"Access is denied","path":"/uaa/oauth/check_token”}
  </code></pre>
  
  <p>I am unable to figure out what is going wrong. 
  Any help here is much appreciated.</p>