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