AuthFailure

The kind of authorization failure, mapped to an HTTP status + WWW-Authenticate error parameter by the transport (RFC 6750 §3.1).

Values

ValueMeaning
none

authorized; proceed

missingToken

no Authorization: Bearer header -> 401 (no error code)

invalidToken

token rejected / wrong audience -> 401 invalid_token

insufficientScope

token lacks a required scope -> 403 insufficient_scope