Skip to content

Commit

Permalink
Merge pull request joshbirk#18 from fourteenfish/master
Browse files Browse the repository at this point in the history
Support state parameter
  • Loading branch information
joshbirk authored Dec 23, 2019
2 parents ed0c035 + fb5c6c0 commit e41f153
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/passport-forcedotcom/strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ Strategy.prototype.authorizationParams = function(options) {

if (options.login_hint)
params.login_hint = options.login_hint;

if (options.state)
params.state = options.state;

return params;
};
Expand Down

0 comments on commit e41f153

Please sign in to comment.