diff --git a/classes/class-PMSSO-Client.php b/classes/class-PMSSO-Client.php index 728ce70..fe74307 100644 --- a/classes/class-PMSSO-Client.php +++ b/classes/class-PMSSO-Client.php @@ -138,7 +138,7 @@ public function authenticate($code= '', $rememberme='', $nonce='', $code_verifie $this->checknonce = $nonce; $this->rememberme = $rememberme; - + error_log("in authenticate: code is $code and code_verifier is $code_verifier"); $tokeninfo = $this->get_code_response($code, $code_verifier); if (! isset($tokeninfo["access_token"]) ) { $tokeninfo['messages'] = 'broke on code response'; @@ -259,7 +259,7 @@ private function get_code_response($code='', $code_verifier=''){ ); $ch = $this->build_curl_handle($url); //construct the curl request - + error_log("code response request to $url uses " . json_encode($postfields)); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $postfields); $response_json = curl_exec($ch); diff --git a/templates/.oauthcallback.php.swp b/templates/.oauthcallback.php.swp new file mode 100644 index 0000000..2cb5b24 Binary files /dev/null and b/templates/.oauthcallback.php.swp differ