Skip to content

OAuth2Error

Troy Willmot edited this page Oct 21, 2016 · 1 revision

Summary

Provides a list of known error responses from OAuth 2.0 authorisation servers. See rfc6749 section 4.1.2.1 for more details. The error responses are provided as string constants containing the appropriate error response text.

Constants

InvalidRequest

Indicates the request from the client was invalid or incomplete. The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.

UnauthorizedRequest

The client is not registered with the API or is using an authorization method it is not registered for.

AccessDenied

The resource owner or authorization server denied the request.

UnsupportedResponseType

The authorization server does not support obtaining an authorization code using the requested method.

InvalidScope

The requested scope is invalid, unknown, or malformed.

ServerError

The authorization server encountered an unexpected condition that prevented it from fulfilling the request. This response is the equivalent of an HTTP 500 internal server error.

TemporarilyUnavailable

The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server. This response is the equivalent of an HTTP 503 Service Unavailable error.

Clone this wiki locally