Skip to content

Commit

Permalink
Raise priority of authentication processing (#803)
Browse files Browse the repository at this point in the history
* Raise priority of authentication processing

* Run tests on WP 5.4 instead of latest (5.5 as of this commit)

* Mark as tested up to 5.4.2 to reflect tests
  • Loading branch information
joshcanhelp committed Oct 1, 2020
1 parent 3e195ad commit f296a38
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ commands:
name: Wait for DB
command: |
dockerize -wait tcp:https://127.0.0.1:3306 -timeout 120s
bash bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 latest
bash bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 5.4
- run: composer test-ci

jobs:
Expand Down
2 changes: 1 addition & 1 deletion WP_Auth0.php
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ function wp_auth0_process_auth_callback() {
$login_manager = new WP_Auth0_LoginManager( $users_repo, WP_Auth0_Options::Instance() );
return $login_manager->init_auth0();
}
add_action( 'template_redirect', 'wp_auth0_process_auth_callback' );
add_action( 'template_redirect', 'wp_auth0_process_auth_callback', 1 );

function wp_auth0_login_ulp_redirect() {
$users_repo = new WP_Auth0_UsersRepo( WP_Auth0_Options::Instance() );
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
=== Login by Auth0 ===
Tags: OIDC, OpenID Connect, Single Sign On, SSO, SAML, Passwordless, OAuth2, Auth0
Tested up to: 5.3.2
Tested up to: 5.4.2
Requires at least: 4.9
Requires PHP: 7.0
License: GPLv2
Expand Down

0 comments on commit f296a38

Please sign in to comment.