From 6a6a1bae8467646879b0d7b2460723f2b8b7995c Mon Sep 17 00:00:00 2001 From: William Tam Date: Tue, 1 Oct 2024 11:49:35 -0400 Subject: [PATCH] set login_resolve args right --- classes/class-PMSSO-Client.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/classes/class-PMSSO-Client.php b/classes/class-PMSSO-Client.php index 97d66dc..b6a42fc 100644 --- a/classes/class-PMSSO-Client.php +++ b/classes/class-PMSSO-Client.php @@ -515,10 +515,11 @@ public function get_vppa_redirect($access_token = '') { $customheaders = array('Application-Id: ' . $this->app_id, 'Authorization: Bearer ' . $access_token); $postfields = array( 'return_uri' => $this->redirect_uri, - 'handle_ux' => true + 'handle_ux' => true, + 'activation' => true ); if (!empty($this->station_id)) { - $postfields['station_id'] = $this->station_id; + $postfields['station'] = $this->station_id; } $requestbody = http_build_query($postfields); //construct the curl request