From dace9a70fb731950f8c1e4996d2f735da0a4b2c3 Mon Sep 17 00:00:00 2001 From: Duncan Barnes Date: Mon, 31 Mar 2014 11:52:05 +0100 Subject: [PATCH] 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. --- GoogleStrategy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GoogleStrategy.php b/GoogleStrategy.php index 30c7cdd..5f4556c 100644 --- a/GoogleStrategy.php +++ b/GoogleStrategy.php @@ -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); } } -} \ No newline at end of file +}