Skip to content

Commit

Permalink
Merge pull request #57 from pushpabrol/master
Browse files Browse the repository at this point in the history
support passing login_hint to authorize
  • Loading branch information
machuga committed Oct 11, 2018
2 parents b9f5223 + 0f4495e commit edffcd0
Show file tree
Hide file tree
Showing 3 changed files with 630 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ Strategy.prototype.authorizationParams = function(options) {
if (options.prompt && typeof options.prompt === 'string') {
params.prompt = options.prompt;
}
if (options.login_hint && typeof options.login_hint === 'string') {
params.login_hint = options.login_hint;
}

return params;
};
Expand Down
Loading

0 comments on commit edffcd0

Please sign in to comment.