oauth2-ccg

OAuth2 Client Credentials Grant

OAuth 2.0 Client Credentials Grant

This module implements getting an auth token from an OAuth 2.0 server following Client Credentials Grant flow.

$ npm install oauth2-ccg

require('oauth2-ccg')(config, callback), where:

  • config is a configuration object (see config-example.js),
  • callback is a function(err, data) with JSON data which is a response from the OAuth 2.0 server.

The MIT License

Copyright (c) 2013 Ruslan Bredikhin