Skip to content
This repository has been archived by the owner on Feb 25, 2019. It is now read-only.

Commit

Permalink
Merge 77865b5 into 325f639
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkersten committed Oct 10, 2017
2 parents 325f639 + 77865b5 commit e2e777a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocols/OAuth2.js
Expand Up @@ -127,7 +127,7 @@ function authorizationRequest (req, options) {
var config = this.client
var url = URL.parse(endpoints.authorize.url)
var responseType = 'code'
var clientId = config.clientId
var clientId = config.client_id
var redirectUri = provider.redirect_uri
var state = options.state

Expand Down Expand Up @@ -177,7 +177,7 @@ function authorizationCodeGrant (code, done) {
// required token parameters
params.grant_type = 'authorization_code'
params.code = code
params.redirectUri = provider.redirect_uri
params.redirect_uri = provider.redirect_uri

// start building the request
var req = request[method || 'post'](url)
Expand Down

0 comments on commit e2e777a

Please sign in to comment.