Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added prompt parameter to request URL in GoogleStrategy.php #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update GoogleStrategy.php
Added optional prompt parameter specified here: https://developers.google.com/accounts/docs/OAuth2Login#prompt

Allows applications to force the account chooser or consent screen to show on all logins.
duncanbarnes committed Mar 31, 2014
commit dace9a70fb731950f8c1e4996d2f735da0a4b2c3
4 changes: 2 additions & 2 deletions GoogleStrategy.php
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ class GoogleStrategy extends OpauthStrategy{
/**
* Optional config keys, without predefining any default values.
*/
public $optionals = array('redirect_uri', 'scope', 'state', 'access_type', 'approval_prompt');
public $optionals = array('redirect_uri', 'scope', 'state', 'access_type', 'approval_prompt','prompt');

/**
* Optional config keys with respective default values, listed as associative arrays
@@ -148,4 +148,4 @@ private function userinfo($access_token){
$this->errorCallback($error);
}
}
}
}