oauth curl commands
-
I have the wordpress rest api and wordpress oauth server plugins setup
and am trying to test authenticating using http://sevengoslings.net/~fangel/oauth-explorer/ everytime the call content is not giving me the oauth token or oauth secret that I need I tried these steps https://ww.wp.xz.cn/support/topic/json-rest-api-from-mobile-app-with-authentication
Enter base url (http(s)://your.domain.com/oauth1
Access token = request
Authorize = authorize
Access_Token = access
Enter your consumer key and secret (leave method as HMAC-SHA1)
Click Get Request Token and you get Call contentI should get this in Call Content Call content now = oauth_token=xxxxxxxxxxxxxxx&oauth_token_secret=xxxxxxxxxxxxxxxxxxxxx&oauth_call_back_confirmed=true
but I only get this
page not found
here they were not able to get 3-legged oauth1.0a to work so they used basic oauth which requires another plugin and is not recommended for production.
I’m looking for two curl commands to get an OAuth grant from the server and another one to trade this grant for an access token+ refresh token.
The topic ‘oauth curl commands’ is closed to new replies.