OAuth 2.0 Client Credentials Grant - Requests and Response
Jakob Jenkov |
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.
Tweet | |
Jakob Jenkov |