OAuth 2.0 bearer token error. Used to indicate that access to a resource protected by a Bearer access token is denied, due to the request or token being invalid, or due to the access token having insufficient scope.
Standard bearer access token errors:
- {@link #MISSING_TOKEN}
- {@link #INVALID_REQUEST}
- {@link #INVALID_TOKEN}
- {@link #INSUFFICIENT_SCOPE}
Example HTTP response:
HTTP/1.1 401 Unauthorized WWW-Authenticate: Bearer realm="example.com", error="invalid_token", error_description="The access token expired"
Related specifications:
- OAuth 2.0 Bearer Token Usage (RFC 6750), section 3.1.