Warning: is_dir(): open_basedir restriction in effect. File(/var/lib/php/sessions) is not within the allowed path(s): (/var/www/vhosts/ahoi.cloud/:/tmp/:/var/lib/php/session) in /var/www/vhosts/ahoi.cloud/oauth-demo.dev.ahoi.cloud/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 51

Warning: mkdir(): open_basedir restriction in effect. File(/var/lib/php/sessions) is not within the allowed path(s): (/var/www/vhosts/ahoi.cloud/:/tmp/:/var/lib/php/session) in /var/www/vhosts/ahoi.cloud/oauth-demo.dev.ahoi.cloud/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 52

Warning: ini_set(): open_basedir restriction in effect. File(/var/lib/php/sessions) is not within the allowed path(s): (/var/www/vhosts/ahoi.cloud/:/tmp/:/var/lib/php/session) in /var/www/vhosts/ahoi.cloud/oauth-demo.dev.ahoi.cloud/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 55

Demo App

Demo a Better You

Error Retrieving Access Token:

Unable to parse response:

object(Guzzle\Http\Message\Response)#175 (10) {
  ["body":protected]=>
  object(Guzzle\Http\EntityBody)#174 (6) {
    ["contentEncoding":protected]=>
    bool(false)
    ["rewindFunction":protected]=>
    NULL
    ["stream":protected]=>
    resource(190) of type (stream)
    ["size":protected]=>
    NULL
    ["cache":protected]=>
    array(9) {
      ["wrapper_type"]=>
      string(3) "PHP"
      ["stream_type"]=>
      string(4) "TEMP"
      ["mode"]=>
      string(3) "w+b"
      ["unread_bytes"]=>
      int(0)
      ["seekable"]=>
      bool(true)
      ["uri"]=>
      string(10) "php://temp"
      ["is_local"]=>
      bool(true)
      ["is_readable"]=>
      bool(true)
      ["is_writable"]=>
      bool(true)
    }
    ["customData":protected]=>
    array(1) {
      ["default"]=>
      bool(true)
    }
  }
  ["reasonPhrase":protected]=>
  string(2) "OK"
  ["statusCode":protected]=>
  int(200)
  ["info":protected]=>
  array(26) {
    ["url"]=>
    string(47) "https://oauth-demo.dev.ahoi.cloud/lockdin/token"
    ["content_type"]=>
    string(16) "application/json"
    ["http_code"]=>
    int(200)
    ["header_size"]=>
    int(306)
    ["request_size"]=>
    int(294)
    ["filetime"]=>
    int(-1)
    ["ssl_verify_result"]=>
    int(0)
    ["redirect_count"]=>
    int(0)
    ["total_time"]=>
    float(0.194581)
    ["namelookup_time"]=>
    float(0.013686)
    ["connect_time"]=>
    float(0.013827)
    ["pretransfer_time"]=>
    float(0.025179)
    ["size_upload"]=>
    float(96)
    ["size_download"]=>
    float(1353)
    ["speed_download"]=>
    float(6974)
    ["speed_upload"]=>
    float(494)
    ["download_content_length"]=>
    float(-1)
    ["upload_content_length"]=>
    float(96)
    ["starttransfer_time"]=>
    float(0.185519)
    ["redirect_time"]=>
    float(0)
    ["redirect_url"]=>
    string(0) ""
    ["primary_ip"]=>
    string(20) "2a01:4f8:192:7034::2"
    ["certinfo"]=>
    array(0) {
    }
    ["primary_port"]=>
    int(443)
    ["local_ip"]=>
    string(20) "2a01:4f8:192:7034::2"
    ["local_port"]=>
    int(36754)
  }
  ["effectiveUrl":protected]=>
  string(47) "https://oauth-demo.dev.ahoi.cloud/lockdin/token"
  ["headers":protected]=>
  object(Guzzle\Http\Message\Header\HeaderCollection)#178 (1) {
    ["headers":protected]=>
    array(9) {
      ["server"]=>
      object(Guzzle\Http\Message\Header)#179 (3) {
        ["values":protected]=>
        array(1) {
          [0]=>
          string(5) "nginx"
        }
        ["header":protected]=>
        string(6) "Server"
        ["glue":protected]=>
        string(1) ","
      }
      ["date"]=>
      object(Guzzle\Http\Message\Header)#180 (3) {
        ["values":protected]=>
        array(1) {
          [0]=>
          string(29) "Sat, 06 Dec 2025 03:33:03 GMT"
        }
        ["header":protected]=>
        string(4) "Date"
        ["glue":protected]=>
        string(1) ","
      }
      ["content-type"]=>
      object(Guzzle\Http\Message\Header)#181 (3) {
        ["values":protected]=>
        array(1) {
          [0]=>
          string(16) "application/json"
        }
        ["header":protected]=>
        string(12) "Content-Type"
        ["glue":protected]=>
        string(1) ","
      }
      ["transfer-encoding"]=>
      object(Guzzle\Http\Message\Header)#182 (3) {
        ["values":protected]=>
        array(1) {
          [0]=>
          string(7) "chunked"
        }
        ["header":protected]=>
        string(17) "Transfer-Encoding"
        ["glue":protected]=>
        string(1) ","
      }
      ["connection"]=>
      object(Guzzle\Http\Message\Header)#183 (3) {
        ["values":protected]=>
        array(1) {
          [0]=>
          string(10) "keep-alive"
        }
        ["header":protected]=>
        string(10) "Connection"
        ["glue":protected]=>
        string(1) ","
      }
      ["vary"]=>
      object(Guzzle\Http\Message\Header)#184 (3) {
        ["values":protected]=>
        array(1) {
          [0]=>
          string(15) "Accept-Encoding"
        }
        ["header":protected]=>
        string(4) "Vary"
        ["glue":protected]=>
        string(1) ","
      }
      ["cache-control"]=>
      object(Guzzle\Http\Message\Header\CacheControl)#185 (4) {
        ["directives":protected]=>
        NULL
        ["values":protected]=>
        array(1) {
          [0]=>
          string(17) "no-store, private"
        }
        ["header":protected]=>
        string(13) "Cache-Control"
        ["glue":protected]=>
        string(1) ","
      }
      ["pragma"]=>
      object(Guzzle\Http\Message\Header)#186 (3) {
        ["values":protected]=>
        array(1) {
          [0]=>
          string(8) "no-cache"
        }
        ["header":protected]=>
        string(6) "Pragma"
        ["glue":protected]=>
        string(1) ","
      }
      ["set-cookie"]=>
      object(Guzzle\Http\Message\Header)#187 (3) {
        ["values":protected]=>
        array(1) {
          [0]=>
          string(62) "PHPSESSID=vgbu3k8re02fk6dfcd8plr096d; path=/; secure; HttpOnly"
        }
        ["header":protected]=>
        string(10) "Set-Cookie"
        ["glue":protected]=>
        string(1) ","
      }
    }
  }
  ["headerFactory":protected]=>
  object(Guzzle\Http\Message\Header\HeaderFactory)#177 (1) {
    ["mapping":protected]=>
    array(2) {
      ["cache-control"]=>
      string(39) "Guzzle\Http\Message\Header\CacheControl"
      ["link"]=>
      string(31) "Guzzle\Http\Message\Header\Link"
    }
  }
  ["params":protected]=>
  object(Guzzle\Common\Collection)#176 (1) {
    ["data":protected]=>
    array(0) {
    }
  }
  ["protocol":protected]=>
  string(4) "HTTP"
  ["protocolVersion":protected]=>
  string(3) "1.1"
}
    

back