This exception is thrown for all
OAuth 2.0 related
Authentication
errors.
There are a number of scenarios where an error may occur, for example:
- The authorization request or token request is missing a required parameter
- Missing or invalid client identifier
- Invalid or mismatching redirection URI
- The requested scope is invalid, unknown, or malformed
- The resource owner or authorization server denied the access request
- Client authentication failed
- The provided authorization grant (authorization code, resource owner credentials) is invalid, expired, or revoked