Authorization Error
The authorization server returns an error response if the request processing fails. The processing of the request fails due to one of the following reasons:
- Missing, invalid, or mismatching redirection URI
For this case, the authorization server informs the resource owner of the error and does not automatically redirect the user-agent to the invalid redirection URI.
- Missing or invalid client identifier
For this case, the authorization server informs the resource owner of the error and does not automatically redirect the user-agent to the invalid redirection URI.
- Resource owner denies the access request
The authorization server informs the client by adding the following parameters to the query component of the redirection URI using the
application/x-www-form-urlencodedformat.
| Parameter | Description |
|---|---|
| error | Specifies a single error code returned from the authorization server.
Required. |
| state | Refers to the exact state parameter value as received from the client. This is required if the state parameter was present in the client authorization request. |
Authorization Error Example
The authorization server redirects the user-agent by sending the following HTTP response:
HTTP/1.1 302 Found Location: https://client.example.com/cb?error=access_denied