Comments (2)
This is correct; the way that OAuth signatures work is by signing the entire request. I'm not sure why you have that line in your nginx.conf (it's certainly not required for WP), but you can fix it on the PHP side by doing unset( $_GET['q'] )
if you're unable to change nginx.
from oauth1.
Hello,
just got into the same problem. The mentioned setup for NGINX is needed so WordPress will work behind a Load Balancer under certain circumstances.
Unfortunately it can't be changed. I do not want to unset unset( $_GET['q'] )
globally like mentioned by you as it might break things in other places.
Wouldn't it be possible to provide a filter/ hook to the parameters you are using so that they could be changed for nginx?
Right now I've added this unset($params['q']);
after $params = array_merge( $params, $oauth_params );
and it seems to work but I would prefer not to "hack" the plugin.
Thank you for your help and the great plugin!
from oauth1.
Related Issues (20)
- OAuth signature not matched when data is url encoded HOT 4
- OPTIONS request returns 401 with OAuth parameters
- Athenticated requests return 401 when Wordpress cookies are available HOT 1
- getallheaders() may not return array
- Auth token for lifetime ?
- "nonces" cell in user meta HOT 1
- Media upload with OAuth1 HOT 1
- Post to wordpress via rest HOT 1
- Creating correct oauth signature with Java HOT 1
- Store access tokens as a post type HOT 2
- Need updated testing against recent WP versions
- I get back 404 every time if I try with rauth, but I tried with requests and it worked fine?
- oauth1/access endpoint is returning the Wordpress site index on 4.9
- ionic 3 Cors issue
- how to get dynamicaly user data with main auth token and token secrete
- Is wp_scope implemented? HOT 1
- PHP 8.0 warning thrown by normalize_parameters HOT 8
- PHP 8.3 compatibility - Deprecated: Calling get_class() without arguments is deprecated HOT 3
- 0.4.2 change summary? HOT 2
- "OAuth signature does not match" error after upgrade to 0.4.2 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oauth1.