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

Received HTTP status code [400] with message "No OAuth parameters supplied" when getting temporary credentials. #8

Open
benbasha opened this issue May 4, 2016 · 8 comments

Comments

@benbasha
Copy link

benbasha commented May 4, 2016

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

@Critter
Copy link

Critter commented Aug 31, 2016

Did you ever get this sorted?

@ghost
Copy link

ghost commented Sep 14, 2016

screenshot from 2016-09-14 17-37-16
I am also getting the same error... Any update how to resolved it ?

@Critter
Copy link

Critter commented Sep 14, 2016

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]

@miken01
Copy link

miken01 commented Oct 22, 2016

This fixed my problem as well, but now I get an error that says...

OAuth signature does not match

@AymanEG
Copy link

AymanEG commented Nov 11, 2016

i tried the htaccess , still same error

@nem95
Copy link

nem95 commented Jan 5, 2017

@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

@Jany-M
Copy link

Jany-M commented Feb 8, 2017

The htaccess rule (above everything else) fixed it.

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^index\.php$ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>

@tomjn
Copy link

tomjn commented Aug 29, 2017

I'm encountering this, albeit on an Nginx server

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

7 participants