Skip to content

oauth_problem=parameter_absent&oauth_parameters_absent #33

@gchauvet

Description

@gchauvet

Good evening,

I'm experiencing a problem when I try to authenticate to the DoYouBuzz webservices. I get an error message telling me that all the parameters expected for authentication are missing.

Below is my cURL request in verbose mode from my development workstation:

*   Trying 78.40.125.35:443...
* Connected to www.doyoubuzz.com (78.40.125.35) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=FR; ST=Loire-Atlantique; O=DOYOU MULTIMEDIA; CN=*.doyoubuzz.com
*  start date: May 16 00:00:00 2023 GMT
*  expire date: Jun 15 23:59:59 2024 GMT
*  subjectAltName: host "www.doyoubuzz.com" matched cert's "*.doyoubuzz.com"
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Organization Validation Secure Server CA
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* Using Stream ID: 1 (easy handle 0x5561e29e4e90)
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> POST /fr/oauth/requestToken HTTP/2
> Host: www.doyoubuzz.com
> user-agent: PHPoAuthLib
> accept: */*
> authorization: OAuth oauth_callback="http%3A%2F%2Flocalhost%3A8080%2F", oauth_consumer_key="XXXXXXXXXXXXXXXX", oauth_nonce="XXXXXXXXXXXXXXXXX", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1691091969", oauth_version="1.0", oauth_signature="IUNAWpocKTd15PZ7Kj4OAxz/cmQ="
> content-type: application/x-www-form-urlencoded
> connection: close
> content-length: 0
> 
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
< HTTP/2 401 
< date: Thu, 03 Aug 2023 20:03:30 GMT
< server: Apache/2.4.38 (Debian)
< cache-control: max-age=0, must-revalidate, private
< expires: Thu, 03 Aug 2023 20:03:30 GMT
< content-type: text/html; charset=UTF-8
< strict-transport-security: max-age=600; includeSubDomains
< 
* Connection #0 to host www.doyoubuzz.com left intact
oauth_problem=parameter_absent&oauth_parameters_absent=oauth_consumer_key%26oauth_signature%26oauth_nonce%26oauth_timestamp%26oauth_callback

I confess I don't understand or I'm making a mistake, knowing that my objective is to retrieve the data from my main CV.

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions