Header Image

OAuth 2.0 Tutorial 2: The Authorization Code Grant Type

Use OAuth to authorize access to an API exposed for retrieval of resources

Use OAuth to authorize access to an API exposed for retrieval of resources

 

The Layer 7 OAuth Toolkit supports all the grant types defined by the OAuth 2.0 specification. This video tutorial demonstrates how the Authorization Code grant type can be used with the Toolkit and how it can be adapted for specific requirements.

In this example, an API is exposed to customers for retrieval of resources. The goal is to use OAuth as a mechanism for authorizing access to this API via the Authorization Code grant type. The solution will provide both the resource server and the authorization server.