Version Description
Bug fixing for PHP Notice: Undefined index: approval_prompt. Bug Fixing for PHP Deprecated: Array and string offset access syntax with curly braces is deprecated.
Download this release
Release Info
Developer | levertechadmin |
Plugin | Google Apps Login |
Version | 3.4.1 |
Comparing to | |
See all releases |
Code changes from version 3.3 to 3.4.1
- autoload.php +0 -0
- core/Google/Auth/AppIdentity.php +0 -0
- core/Google/Auth/OAuth2.php +1 -5
- core/Google/Config.php +1 -2
- core/Google/IO/DebugVersionOfCurl.php +0 -0
- core/Google/Logger/Abstract.php +0 -0
- core/Google/Logger/Exception.php +0 -0
- core/Google/Logger/File.php +0 -0
- core/Google/Logger/Null.php +0 -0
- core/Google/Logger/Psr.php +0 -0
- core/Google/Service/Appsactivity.php +0 -0
- core/Google/Service/Autoscaler.php +0 -0
- core/Google/Service/CloudMonitoring.php +0 -0
- core/Google/Service/Container.php +0 -0
- core/Google/Service/Fitness.php +0 -0
- core/Google/Service/Genomics.php +0 -0
- core/Google/Service/Gmail.php +0 -0
- core/Google/Service/Manager.php +0 -0
- core/Google/Service/Pubsub.php +0 -0
- core/Google/Service/Replicapool.php +0 -0
- core/Google/Service/Replicapoolupdater.php +0 -0
- core/Google/Service/Resourceviews.php +0 -0
- core/Google/Service/ShoppingContent.php +0 -0
- core/Google/Service/TagManager.php +0 -0
- core/Google/Service/Webmasters.php +0 -0
- core/Google/Utils.php +1 -1
- core/core_google_apps_login.php +1 -1
- google_apps_login.php +2 -2
- lang/google-apps-login-ar_SA.mo +0 -0
- lang/google-apps-login-ar_SA.po +0 -0
- lang/google-apps-login-es_ES.mo +0 -0
- lang/google-apps-login-es_ES.po +0 -0
- lang/google-apps-login-fa_IR.mo +0 -0
- lang/google-apps-login-fa_IR.po +0 -0
- lang/google-apps-login-sr_RS.mo +0 -0
- lang/google-apps-login-sr_RS.po +0 -0
- lang/google-apps-login-sv_SE.mo +0 -0
- lang/google-apps-login-sv_SE.po +0 -0
- readme.txt +13 -2
autoload.php
CHANGED
File without changes
|
core/Google/Auth/AppIdentity.php
CHANGED
File without changes
|
core/Google/Auth/OAuth2.php
CHANGED
@@ -145,11 +145,7 @@ class GoogleGAL_Auth_OAuth2 extends GoogleGAL_Auth_Abstract
|
|
145 |
);
|
146 |
|
147 |
// Prefer prompt to approval prompt.
|
148 |
-
|
149 |
-
$params = $this->maybeAddParam($params, 'prompt');
|
150 |
-
} else {
|
151 |
-
$params = $this->maybeAddParam($params, 'approval_prompt');
|
152 |
-
}
|
153 |
$params = $this->maybeAddParam($params, 'login_hint');
|
154 |
$params = $this->maybeAddParam($params, 'hd');
|
155 |
$params = $this->maybeAddParam($params, 'openid.realm');
|
145 |
);
|
146 |
|
147 |
// Prefer prompt to approval prompt.
|
148 |
+
$params = $this->maybeAddParam($params, 'prompt');
|
|
|
|
|
|
|
|
|
149 |
$params = $this->maybeAddParam($params, 'login_hint');
|
150 |
$params = $this->maybeAddParam($params, 'hd');
|
151 |
$params = $this->maybeAddParam($params, 'openid.realm');
|
core/Google/Config.php
CHANGED
@@ -97,7 +97,6 @@ class GoogleGAL_Config
|
|
97 |
'login_hint' => '',
|
98 |
'request_visible_actions' => '',
|
99 |
'access_type' => 'online',
|
100 |
-
'approval_prompt' => 'auto',
|
101 |
'federated_signon_certs_url' =>
|
102 |
'https://www.googleapis.com/oauth2/v1/certs',
|
103 |
),
|
@@ -322,7 +321,7 @@ class GoogleGAL_Config
|
|
322 |
*/
|
323 |
public function setApprovalPrompt($approval)
|
324 |
{
|
325 |
-
$this->setAuthConfig('
|
326 |
}
|
327 |
|
328 |
/**
|
97 |
'login_hint' => '',
|
98 |
'request_visible_actions' => '',
|
99 |
'access_type' => 'online',
|
|
|
100 |
'federated_signon_certs_url' =>
|
101 |
'https://www.googleapis.com/oauth2/v1/certs',
|
102 |
),
|
321 |
*/
|
322 |
public function setApprovalPrompt($approval)
|
323 |
{
|
324 |
+
$this->setAuthConfig('prompt', $approval);
|
325 |
}
|
326 |
|
327 |
/**
|
core/Google/IO/DebugVersionOfCurl.php
CHANGED
File without changes
|
core/Google/Logger/Abstract.php
CHANGED
File without changes
|
core/Google/Logger/Exception.php
CHANGED
File without changes
|
core/Google/Logger/File.php
CHANGED
File without changes
|
core/Google/Logger/Null.php
CHANGED
File without changes
|
core/Google/Logger/Psr.php
CHANGED
File without changes
|
core/Google/Service/Appsactivity.php
CHANGED
File without changes
|
core/Google/Service/Autoscaler.php
CHANGED
File without changes
|
core/Google/Service/CloudMonitoring.php
CHANGED
File without changes
|
core/Google/Service/Container.php
CHANGED
File without changes
|
core/Google/Service/Fitness.php
CHANGED
File without changes
|
core/Google/Service/Genomics.php
CHANGED
File without changes
|
core/Google/Service/Gmail.php
CHANGED
File without changes
|
core/Google/Service/Manager.php
CHANGED
File without changes
|
core/Google/Service/Pubsub.php
CHANGED
File without changes
|
core/Google/Service/Replicapool.php
CHANGED
File without changes
|
core/Google/Service/Replicapoolupdater.php
CHANGED
File without changes
|
core/Google/Service/Resourceviews.php
CHANGED
File without changes
|
core/Google/Service/ShoppingContent.php
CHANGED
File without changes
|
core/Google/Service/TagManager.php
CHANGED
File without changes
|
core/Google/Service/Webmasters.php
CHANGED
File without changes
|
core/Google/Utils.php
CHANGED
@@ -64,7 +64,7 @@ class GoogleGAL_Utils
|
|
64 |
$strlenVar = strlen($str);
|
65 |
$d = $ret = 0;
|
66 |
for ($count = 0; $count < $strlenVar; ++ $count) {
|
67 |
-
$ordinalValue = ord($str
|
68 |
switch (true) {
|
69 |
case (($ordinalValue >= 0x20) && ($ordinalValue <= 0x7F)):
|
70 |
// characters U-00000000 - U-0000007F (same as ASCII)
|
64 |
$strlenVar = strlen($str);
|
65 |
$d = $ret = 0;
|
66 |
for ($count = 0; $count < $strlenVar; ++ $count) {
|
67 |
+
$ordinalValue = ord($str[$ret]);
|
68 |
switch (true) {
|
69 |
case (($ordinalValue >= 0x20) && ($ordinalValue <= 0x7F)):
|
70 |
// characters U-00000000 - U-0000007F (same as ASCII)
|
core/core_google_apps_login.php
CHANGED
@@ -75,7 +75,7 @@ class core_google_apps_login {
|
|
75 |
|
76 |
$scopes = array_unique(apply_filters('gal_gather_scopes', $this->get_default_scopes()));
|
77 |
$client->setScopes($scopes);
|
78 |
-
$client->setApprovalPrompt($options['ga_force_permissions'] ? '
|
79 |
|
80 |
$oauthservice = null;
|
81 |
if ($includeoauth) {
|
75 |
|
76 |
$scopes = array_unique(apply_filters('gal_gather_scopes', $this->get_default_scopes()));
|
77 |
$client->setScopes($scopes);
|
78 |
+
$client->setApprovalPrompt($options['ga_force_permissions'] ? 'consent' : '');
|
79 |
|
80 |
$oauthservice = null;
|
81 |
if ($includeoauth) {
|
google_apps_login.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Google Apps Login
|
5 |
* Plugin URI: http://wp-glogin.com/
|
6 |
* Description: Simple secure login for Wordpress through users' Google Apps accounts (uses secure OAuth2, and MFA if enabled)
|
7 |
-
* Version: 3.
|
8 |
* Author: Lever Technology LLC
|
9 |
* Author URI: http://wp-glogin.com/
|
10 |
* License: GPL3
|
@@ -23,7 +23,7 @@ else {
|
|
23 |
|
24 |
class basic_google_apps_login extends core_google_apps_login {
|
25 |
|
26 |
-
protected $PLUGIN_VERSION = '3.
|
27 |
|
28 |
// Singleton
|
29 |
private static $instance = null;
|
4 |
* Plugin Name: Google Apps Login
|
5 |
* Plugin URI: http://wp-glogin.com/
|
6 |
* Description: Simple secure login for Wordpress through users' Google Apps accounts (uses secure OAuth2, and MFA if enabled)
|
7 |
+
* Version: 3.4.1
|
8 |
* Author: Lever Technology LLC
|
9 |
* Author URI: http://wp-glogin.com/
|
10 |
* License: GPL3
|
23 |
|
24 |
class basic_google_apps_login extends core_google_apps_login {
|
25 |
|
26 |
+
protected $PLUGIN_VERSION = '3.4.1';
|
27 |
|
28 |
// Singleton
|
29 |
private static $instance = null;
|
lang/google-apps-login-ar_SA.mo
CHANGED
File without changes
|
lang/google-apps-login-ar_SA.po
CHANGED
File without changes
|
lang/google-apps-login-es_ES.mo
CHANGED
File without changes
|
lang/google-apps-login-es_ES.po
CHANGED
File without changes
|
lang/google-apps-login-fa_IR.mo
CHANGED
File without changes
|
lang/google-apps-login-fa_IR.po
CHANGED
File without changes
|
lang/google-apps-login-sr_RS.mo
CHANGED
File without changes
|
lang/google-apps-login-sr_RS.po
CHANGED
File without changes
|
lang/google-apps-login-sv_SE.mo
CHANGED
File without changes
|
lang/google-apps-login-sv_SE.po
CHANGED
File without changes
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: levertechadmin
|
3 |
Tags: login, google, authentication, oauth, google login, google apps, g suite, sso, single-sign-on, auth, intranet
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to: 5.
|
6 |
-
Stable tag: 3.
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -197,6 +197,17 @@ the WordPress admin panel once you have activated the plugin. For a (non-persona
|
|
197 |
|
198 |
== Changelog ==
|
199 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
= 3.3 =
|
201 |
|
202 |
Added permission check functionality
|
2 |
Contributors: levertechadmin
|
3 |
Tags: login, google, authentication, oauth, google login, google apps, g suite, sso, single-sign-on, auth, intranet
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 5.4.1
|
6 |
+
Stable tag: 3.4.1
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
197 |
|
198 |
== Changelog ==
|
199 |
|
200 |
+
= 3.4.1 =
|
201 |
+
|
202 |
+
Bug fixing for PHP Notice: Undefined index: approval_prompt.
|
203 |
+
Bug Fixing for PHP Deprecated: Array and string offset access syntax with curly braces is deprecated.
|
204 |
+
|
205 |
+
= 3.4 =
|
206 |
+
|
207 |
+
Bug fixing for Invalid parameter value for approval_prompt: 'auto'.
|
208 |
+
Updated compatibility with the WordPress 5.4 release.
|
209 |
+
|
210 |
+
|
211 |
= 3.3 =
|
212 |
|
213 |
Added permission check functionality
|