diff --git a/changelog.md b/changelog.md index 4161c46..902dd80 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,33 @@ - # OpenId Connect Generic Changelog +3.7.0 + +* Feature: @timnolte - Ability to enable/disable token refresh. Useful for IDPs that don't support token refresh. +* Feature: @timnolte - Support custom redirect URL(`redirect_to`) with the authentication URL & login button shortcodes. + - Supports additional attribute overrides including login `button_text`, `endpoint_login`, `scope`, `redirect_uri`. + +3.6.0 + +* Improvement: @RobjS - Improved error messages during login state failure. +* Improvement: @RobjS - New developer filter for login form button URL. +* Fix: @cs1m0n - Only increment username during new user creation if the "Link existing user" setting is enabled. +* Fix: @xRy-42 - Allow periods and spaces in usernames to match what WordPress core allows. +* Feature: @benochen - New setting named "Create user if does not exist" determines whether new users are created during login attempts. +* Improvement: @flat235 - Username transliteration and normalization. + +3.5.1 + +* Fix: @daggerhart - New approach to state management using transients. + +3.5.0 + +* Readme fix: @thijskh - Fix syntax error in example openid-connect-generic-login-button-text +* Feature: @slavicd - Allow override of the plugin by posting credentials to wp-login.php +* Feature: @gassan - New action on use login +* Fix: @daggerhart - Avoid double question marks in auth url query string +* Fix: @drzraf - wp-cli bootstrap must not inhibit custom rewrite rules +* Syntax change: @mullikine - Change PHP keywords to comply with PSR2 + **3.4.1** * Minor documentation update and additional error checking. diff --git a/composer.json b/composer.json index ea542b3..132bfef 100644 --- a/composer.json +++ b/composer.json @@ -9,6 +9,11 @@ "name": "Jonathan Daggerhart", "email": "jonathan@daggerhart.com", "homepage": "https://github.com/daggerhart" + }, + { + "name": "Tim Nolte", + "email": "tim.nolte@ndigitals.com", + "homepage": "https://github.com/timnolte" } ], "keywords": [ @@ -19,7 +24,7 @@ "issues": "https://github.com/daggerhart/openid-connect-generic/issues" }, "require": { - "php": ">=5.3.3", + "php": ">=5.6.0", "composer/installers": "~1.0" } } diff --git a/openid-connect-generic.php b/openid-connect-generic.php index b7fa99f..37ada5f 100644 --- a/openid-connect-generic.php +++ b/openid-connect-generic.php @@ -1,13 +1,29 @@ + * @author Tim Nolte + * @copyright 2015-2020 daggerhart + * @license http://www.gnu.org/licenses/gpl-2.0.txt GPL-2.0+ + * @link https://github.com/daggerhart + * + * @wordpress-plugin + * Plugin Name: OpenID Connect Generic + * Plugin URI: https://github.com/daggerhart/openid-connect-generic + * Description: Connect to an OpenID Connect generic client using Authorization Code Flow. + * Version: 3.6.0 + * Author: daggerhart + * Author URI: http://www.daggerhart.com + * License: GPL-2.0+ + * License URI: http://www.gnu.org/licenses/gpl-2.0.txt + * GitHub Plugin URI: https://github.com/daggerhart/openid-connect-generic + */ /* Notes @@ -50,7 +66,7 @@ Notes class OpenID_Connect_Generic { // plugin version - const VERSION = '3.6.0'; + const VERSION = '3.7.0'; // plugin settings private $settings; diff --git a/readme.txt b/readme.txt index 93da2f8..f07bef0 100644 --- a/readme.txt +++ b/readme.txt @@ -1,10 +1,11 @@ === OpenID Connect Generic Client === -Contributors: daggerhart +Contributors: daggerhart, tnolte Donate link: http://www.daggerhart.com/ Tags: security, login, oauth2, openidconnect, apps, authentication, autologin, sso -Requires at least: 4 -Tested up to: 5.2.2 +Requires at least: 4.9 +Tested up to: 5.4.2 Stable tag: trunk +Requires PHP: 5.6 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -50,6 +51,12 @@ On the settings page for this plugin (Dashboard > Settings > OpenID Connect Gene == Changelog == += 3.7.0 = + +* Feature: @timnolte - Ability to enable/disable token refresh. Useful for IDPs that don't support token refresh. +* Feature: @timnolte - Support custom redirect URL(`redirect_to`) with the authentication URL & login button shortcodes. + - Supports additional attribute overrides including login `button_text`, `endpoint_login`, `scope`, `redirect_uri`. + = 3.6.0 = * Improvement: @RobjS - Improved error messages during login state failure.