Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.4.2 change summary? #236

Open
scottfennell-toptal opened this issue Dec 4, 2023 · 2 comments
Open

0.4.2 change summary? #236

scottfennell-toptal opened this issue Dec 4, 2023 · 2 comments

Comments

@scottfennell-toptal
Copy link

scottfennell-toptal commented Dec 4, 2023

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

@stones
Copy link

stones commented Dec 5, 2023

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

@szaqal83
Copy link

szaqal83 commented Dec 6, 2023

I've reported an issue here #237.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants