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

Commit

Permalink
fix(protocols): previous OAuth2 config parameter rename broke functio…
Browse files Browse the repository at this point in the history
…nality

This restores the previous config parameter name of `client_id` for
OAuth2 providers (e.g. google).

[closes #368]
  • Loading branch information
tomkersten committed Oct 10, 2017
1 parent 13b69c5 commit 77865b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocols/OAuth2.js
Original file line number Diff line number Diff line change
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

0 comments on commit 77865b5

Please sign in to comment.