Releases: auth0/wordpress
5.0.0-BETA0
A new Beta Channel version of the plugin will be available from the WordPress plugin marketplace soon, which will enable you to opt into receiving updates to new development releases as they happen.
New Features
- PHP 8.0 Support — The plugin has been redesigned to use PHP 8.0+ language features.
- Flexible Connection Matching — This allows users to sign in using multiple connections to the same account. For example, with this you can now sign in using your standard email-password, or social connections you've enabled. Any connection works so long as the authenticating account shares the same (verified) email address.
- Absentee Account Handling — You can now choose different behaviors for handling when a user signs in successfully, but an account doesn't exist matching the email. Although Auth0 Database Connections have always handled this well on the API side with the 'Disable Sign Ups' toggle, social connections are trickier in cases where that option doesn't exist. You can now choose to deny those types of authentication requests, or dynamically create new accounts for those users.
- WP-Cron support — The plugin now leverages the WP background task scheduler to improve performance. Because real time Management API calls can sometimes fail (rate limits, network congestion on ones hosting provider, etc.) we can now batch changes for WP customers with high traffic sites to more efficiently bring their CMS and Auth0 databases in sync.
- Session Pairing — WordPress sessions are not completely managed by the plugin, ensuring scenarios like token expiration and refresh tokens are honored and properly acted upon.
- PSR-18, PSR-17 and PSR-7 Support — All networking functions of the plugin have been rewritten to use the PHP-FIG standards for HTTP messaging. This also removes the library's dependency on Guzzle.
- WP_Object_Cache support — Caching now uses the native WP_Object_Cache API, for enhanced storage options through third party plugins. In particular, this is now used for JWKS caching, enabling improved performance.
Breaking Changes
- PHP 8.0.0 is now the minimum supported version.
- Embedded login support has been deprecated, and Universal Login is now required.
- All
auth0_
anda0_
prefixed functions have migrated into classes beneath theAuth0\WordPress
namespace. - All previous JWT processing using third-party libraries has been removed. This is now handled by Auth0's PHP SDK.
Auth0\WordPress\Plugin
handles the underlying Auth0-PHP SDK initialization and configuration.Auth0\WordPress\Actions\Authentication
now handles all authentication functions, and acts as the core for the various WordPress hooks used throughout the system.Auth0\WordPress\Actions\Configuration
now handles all Admin UI rendering functions. A new configuration database storage format has been established which will supersede the previous V4 method.Auth0\WordPress\Actions\Sync
manages the new WP-Cron scheduled task functions.- Sessions have been reworked to support the new Auth0 PHP SDK 8.0+ format.
Additional new features and changes may be added before this new version is released as stable.
4.4.0
4.3.1
4.3.0
4.2.0
Added
Changed
- Initial support for PHP 8.0 #814 (evansims)
- Pass user info to auth0_before_login hook #817 (nicecatch)
- Add filters on user queries #812 (tharsheblows)
- Introduce static code analysis #813 (szepeviktor)
Fixed
- Fix enqueued scripts #816 (szepeviktor)
4.1.1
Fixed
- Raise priority of authentication processing #803 (joshcanhelp)
- Fix potential infinite loop on email update #802 (joshcanhelp)
4.1.0
Closed issues
- With a custom domain, JWKs aren't being fetched from the correct domain #790
Changed
- Load ourselves with Composer autoloader #787 (szepeviktor)
Fixed
- Fix incorrect function in uninstall hook #795 (joshcanhelp)
- Align the client ID and redirect URI used in the setup wizard #794 (joshcanhelp)
- Fix custom domain not being used in JWKS #792 (joshcanhelp)
- Pass shortcode atts to the handler #789 (drobin03)
- PHPStan Level 2 fixes #785 (szepeviktor)
4.0.0
This is a major release with breaking changes!
In addition to the minimum PHP version being updated from 5.3 to 7.0, there are many breaking removals and changes that are covered in the migration guide included in this release.
Closed issues
- pt-BR language is not being installed #760
- Authorization Extension, groups, roles not showing up #701
- Using the auth0 word in the URL path triggers an authorization code exchange #351
Added
- PHPCS security scan, sanitization and escaping improvements, and removed custom admin styling (see commits for details)
- Add settings validation to import #777 (joshcanhelp)
- Add ability to break cache if RS256 ID token kid is not found #770 (joshcanhelp)
- Remove error_log calls and add auth0_insert_error action #763 (joshcanhelp)
- Get new access token via refresh token API #730 (albeja)
- feature/Adding Brazilian Portuguese translations #729 (niugait)
- Add wpa0_user_data filter before creating WP_User #717 (horike37)
- Add check for GET and POST globals for state validation #707 (joshcanhelp)
Changed
- Update Spanish and BR Portuguese translations #780 (joshcanhelp)
- Merge in 3.11.2 and 3.11.3 #779 (joshcanhelp)
- Update Embedded settings validation and defaults #776 (joshcanhelp)
- Update Basic settings validation and defaults #775 (joshcanhelp)
- Update Feature settings validation and defaults #774 (joshcanhelp)
- Update Advanced settings validation and defaults #773 (joshcanhelp)
- Change all redirects to wp_safe_redirect #771 (joshcanhelp)
- Remove deprecated from WP_Auth0_InitialSetup #754 (joshcanhelp)
- Remove deprecated from errorlog #753 (joshcanhelp)
- Move actions from methods to functions for profile delete and change email #751 (joshcanhelp)
- Remove deprecated from User and Change Password #750 (joshcanhelp)
- Remove deprecated from email verification #749 (joshcanhelp)
- Remove deprecated from admin #748 (joshcanhelp)
- Move WP_Auth0_Routes initialize method to function #745 (joshcanhelp)
- Merge WP_Auth0_Options_Generic into WP_Auth0_Options #741 (joshcanhelp)
- Rename Lock option class and remove deprecated #739 (joshcanhelp)
- Improve OIDC Compliance #734 (joshcanhelp)
- Update minimum PHP to 7.0 and WP to 4.9 #732 (joshcanhelp)
- Update auth params method to add filters #716 (joshcanhelp)
- Move WooCommerce hooks to global functions and remove init method #705 (joshcanhelp)
- Bump PHP version to 5.6; auto-adjust array syntax #696 (joshcanhelp)
Removed
- Remove migration JWT JTI check #778 (joshcanhelp)
- Remove custom signup fields setting #765 (joshcanhelp)
- Remove Bootstrap, fonts, and descriptions from admin pages #764 (joshcanhelp)
- Remove connection deactivation on setup #762 (joshcanhelp)
- Remove future iat check #757 (joshcanhelp)
- Remove class WP-Auth0 and move methods to functions #756 (joshcanhelp)
- Remove deprecated from import settings #752 (joshcanhelp)
- Remove user export functionality #747 (joshcanhelp)
- Remove deprecated from WP_Auth0_DBManager and move init to function #746 (joshcanhelp)
- Remove deprecated from WP_Auth0_UsersRepo #744 (joshcanhelp)
- Remove WP_Auth0_EditProfile #743 (joshcanhelp)
- Remove client_secret_b64_encoded setting #742 (joshcanhelp)
- Remove deprecated WP_Auth0_Api_Operations methods #740 (joshcanhelp)
- Remove deprecated IP and referrer checks #738 (joshcanhelp)
- Remove deprecated Management API functionality #737 (joshcanhelp)
- Remove class WP_Auth0_RulesLib #736 (joshcanhelp)
- Remove implicit login flow #735 (joshcanhelp)
- Remove deprecated WP_Auth0_Metrics class #728 (joshcanhelp)
- Remove deprecated WP_Auth0_Lock_Options class #727 (joshcanhelp)
- Remove deprecated WP_Auth0_CustomDBLib class #726 (joshcanhelp)
- Remove deprecated WP_Auth0_Api_Client methods #725 (joshcanhelp)
- Remove login manager deprecated #724 (joshcanhelp)
- Remove features including SSO on wp-login/php #723 (joshcanhelp)
- Remove deprecated basic settings; centralize validation declaration #722 (joshcanhelp)
- Remove appearance settings #721 (joshcanhelp)
- Remove all unused and deprecated advanced setting functionality #720 (joshcanhelp)
- Remove unused setup wizard classes, methods, and templates #719 (joshcanhelp)
- Remove JWT auth plugin integration #715 (joshcanhelp)
- Remove Social Amplificator and related assets #714 (joshcanhelp)
- Remove dashboard widgets #713 (joshcanhelp)
- Remove feedback form from help tab #712 (joshcanhelp)
Fixed
- Fix include path for functions file #755 (joshcanhelp)
- Merge in released 3.11.1 version #709 (joshcanhelp)
- Fix auth0 in paths triggering callback #697 (joshcanhelp)
3.11.3
3.11.2
- Add path to functions.php include #759 (joshcanhelp)
- Patch samesite for implicit #758 (joshcanhelp)
Important note for sites using the Implicit Login Flow setting: The upcoming changes to SameSite handling in multiple browsers will require sites using the Implicit Login Flow setting to also be served on a secure channel (callback URL using "https"). This setting will be removed in the upcoming major version but is patched for sites that need time to migrate.