Skip to content

Commit

Permalink
Change casing of option to be consistent with existing style.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed Mar 4, 2015
1 parent 61ba9d5 commit 4bb3ede
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/passport-google-oauth/oauth2.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ Strategy.prototype.authorizationParams = function(options) {
// https://developers.google.com/+/api/moment-types/
params['request_visible_actions'] = options.requestVisibleActions;
}
if (options.openIdRealm) {
if (options.openIDRealm) {
// This parameter is needed when migrating users from Google's OpenID 2.0 to OAuth 2.0
// https://developers.google.com/accounts/docs/OpenID?hl=ja#adjust-uri
params['openid.realm'] = options.openIdRealm;
params['openid.realm'] = options.openIDRealm;
}
return params;
}
Expand Down

0 comments on commit 4bb3ede

Please sign in to comment.