Overview#OAuth Error is an Result Code indicating something went wrong.
If an OAuth 2.0 request fails due to a missing, invalid, or mismatching redirect_uri, or if the OAuth Client identifier is missing or invalid, the Authorization Server SHOULD inform the Resource Owner of the error and MUST NOT automatically redirect the user-agent to the invalid Redirect URI.OAuth Parameters Registry
If the Resource Owner denies the access request or if the request fails for reasons other than a missing or invalid redirect_uri, 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-urlencoded" format, per Appendix B:
error REQUIRED#A single ASCII [USASCII] error code from the following:
error_description OPTIONAL #Human-readable ASCII [USASCII] text providing additional information, used to assist the client developer in understanding the error that occurred.
Values MUST NOT include characters outside the set %x20-21 / %x23-5B / %x5D-7E.
error_uri OPTIONAL#A URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.
state REQUIRED#if a "state" parameter was present in the client Authorization Request. The exact value received from the client.
More Information#There might be more information for this subject on one of the following:
- Authorization API
- Authorization Response
- Authorization Server Authentication of the End-User
- Mutual TLS Sender Constrained Resources Access
- OAuth 2.0 Token Revocation
- OAuth Parameters Registry
- OpenID Connect Authentication Response
- Prompt Parameter
- Proof Key for Code Exchange by OAuth Public Clients
- Protection API
- Resource Parameter