oauth tutorial - OAuth Access Token Error Response and Codes - oauth2 tutorial - oauth authentication
What is Access token?
- The third party then uses the access token to access the protected resources hosted by the resource server.
- OAuth is a service that is complementary to and distinct from OpenID.
- OAuth is also distinct from OATH, which is a reference architecture for authentication, not a standard for authorization.
- Access token is a type of token that is assigned by the authorization server.
- The authorization server issues the access token, if the access token request is valid and authorized.
- If the token access request is invalid or unauthorized, then the authorization server returns an error response.
- The application can handle error response by sending them to redirect_uri.
- The above URI contains the following parameters −
- error − It specifies the error code if there is an invalid request, invalid client, invalid grant, or unauthorized client.
- error_description − It defines the detail description of the error.
- Following are the various error codes, which can occur when there are errors at the authorization endpoint.
|S.No||Error & Description||Error Code|
This error occurs when there is a missing parameter that includes multiple
The unauthorized client is not allowed to access the authorization grant type.
It specifies the user will have no access permission to files or subfolders.
It specifies the response type is not supported by the authorization server.
This error code is mainly used when 500 internal server cannot be returned
It specifies that the server is unable to handle the request during overloading