diff --git a/lib/WP_Auth0_Routes.php b/lib/WP_Auth0_Routes.php index b13ef431..6610a40e 100755 --- a/lib/WP_Auth0_Routes.php +++ b/lib/WP_Auth0_Routes.php @@ -124,7 +124,7 @@ protected function migration_ws_login() { throw new Exception( 'Unauthorized: missing authorization header' ); } - $token = JWT::decode( $authorization, $secret, array( $this->a0_options->get_client_signing_algorithm() ) ); + $token = JWT::decode( $authorization, $secret, array( 'HS256' ) ); if ( $token->jti != $token_id ) { throw new Exception( 'Invalid token id' );