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

Java ConcurrentMap + ConcurrentHashMap

Java Generics

Java ForkJoinPool

P2P Networks Introduction

















Close TOC
All Tutorial Trails
All Trails
Table of contents (TOC) for this tutorial trail
Trail TOC
Table of contents (TOC) for this tutorial
Page TOC
Previous tutorial in this tutorial trail
Previous
Next tutorial in this tutorial trail
Next