OAuth 2.0 Client Credentials Grant - Requests and Response

Client Credentials Grant Request

The client credentials grant request contains the following parameters:
grant_type Required. Must be set to client_credentials .
scope Optional. The scope of the authorization.

Client Credentials Grant Response

The client credentials response contains the following parameters:
{ "access_token"  : "...",
  "token_type"    : "...",
  "expires_in"    : "...",
}
The access_token property is the access token as assigned by the authorization server.
The token_type property is a type of token assigned by the authorization server.
The expires_in property is a number of seconds after which the access token expires, and is no longer valid. Expiration of access tokens is optional.
A refresh token should not be included for this type of authorization request.

No comments:

Post a Comment

Genuine websites to earn money.

If you are interested in PTC sites then this article is for you. I have personally tried many of the sites and found that the best thing ...