Skip to content

Commit

Permalink
yet maur debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tamw-wnet committed Sep 16, 2024
1 parent c061a75 commit 40ddd17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/class-PMSSO-Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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);
Expand Down
Binary file added templates/.oauthcallback.php.swp
Binary file not shown.

0 comments on commit 40ddd17

Please sign in to comment.