OAuth 2.0 Client Credentials Grant - Requests and Response

Jakob Jenkov
Last update: 2014-06-15

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.

Jakob Jenkov

Featured Videos

Core Software Performance Optimization Principles


Java Persistence
Close TOC

All Trails

Trail TOC

Page TOC