Open benbasha opened 8 years ago
Did you ever get this sorted?
I am also getting the same error... Any update how to resolved it ?
I was able to fix the issue by swapping out a line in my .htaccess file to this:
RewriteRule ^index\.php$ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
This fixed my problem as well, but now I get an error that says...
OAuth signature does not match
i tried the htaccess , still same error
@AymanEG try on postman, "add params to header" not selected, you should have url like this : https://www.wordpress.fr/oauth1/request?oauth_consumer_key=CLIENT_KEY&oauth_signature_method=HMAC-SHA1&oauth_timestamp=TIMESTAMP&oauth_nonce=A_NONCE_GENERATED_BY_POSTMAN&oauth_version=1.0&oauth_signature=SIGNATURE
The htaccess rule (above everything else) fixed it.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^index\.php$ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>
I'm encountering this, albeit on an Nginx server
WP-API and OAuth are installed on my site (empty wp site for testing rest api)
in the second step i got this error and cannot make it work.
all OAuth endpoints discovered are showing "No OAuth parameters supplied"
thanks