OAuth1 icon indicating copy to clipboard operation
OAuth1 copied to clipboard

0.4.2 change summary?

Open scottfennell-toptal opened this issue 2 years ago • 2 comments

Hello,

I'm still debugging the issue, but my integration with this plugin seems to break when I update it to 0.4.2. I'm having trouble finding a summary of the changes. Is there one available?

I'm updating from version 0.3.0. I'm on the latest version of wp core.

Debug info from my use case, for what it's worth:

Request: {"headers":{"Authorization":"OAuth oauth_consumer_key="[redacted for github issue]", oauth_nonce="[redacted for github issue]", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1701705977", oauth_token="[redacted for github issue]", oauth_version="1.0", oauth_signature="[redacted for github issue]"},"timeout":10,"redirection":10,"user-agent":"LexBlog/NSFW; network/lxbp1stg; blog/1"}

Response: {"headers":{},"body":"{"code":"json_oauth1_signature_mismatch","message":"OAuth signature does not match","data":{"status":401}}","response":{"code":401,"message":"Unauthorized"},"cookies":[{"name":"__cf_bm","value":"[redacted for github issue]","expires":1701707778,"path":"/","domain":"wpenginepowered.com","port":null,"host_only":false}],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}

I confirmed that the redacted values are the same both before and after I update your plugin to 0.4.2 (other than the nonce / time based parameters)

I've isolated that the change occurs when I update this file, specifically: class-wp-rest-oauth1.php

scottfennell-toptal avatar Dec 04 '23 13:12 scottfennell-toptal

I am also receiving a 401 after upgrading to 0.4.3 from 0.3.0.

stones avatar Dec 05 '23 21:12 stones

I've reported an issue here #237.

szaqal83 avatar Dec 06 '23 11:12 szaqal83