You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is an issue for this repo or for the main WP-API repo, but I've got a problem where I have gone through all the authentication steps here and have received an access token and token secret but when I go to request my user from http://mysite.com/wp-json/wp/v2/users/me I keep getting a 401 with json_oauth1_signature_mismatch in the JSON response.
I'm not completely sure that I'm sending the request to get my user correctly, but I haven't been able to find a good guide yet on how requests should be formatted after getting the access token in OAuth 1 (aside from this oauth.net spec).
My app is in React Native so all my requests are done with the Fetch API as I was having a difficult time finding a good OAuth 1 client which would support Wordpress REST API OAuth.
If I could just get help in how that request to get my user is supposed to be formatted, even a CURL command that I could translate to Fetch, that would be so helpful.
Thanks!
The text was updated successfully, but these errors were encountered:
I'm not sure if this is an issue for this repo or for the main WP-API repo, but I've got a problem where I have gone through all the authentication steps here and have received an access token and token secret but when I go to request my user from
http://mysite.com/wp-json/wp/v2/users/me
I keep getting a 401 withjson_oauth1_signature_mismatch
in the JSON response.I'm not completely sure that I'm sending the request to get my user correctly, but I haven't been able to find a good guide yet on how requests should be formatted after getting the access token in OAuth 1 (aside from this oauth.net spec).
My app is in React Native so all my requests are done with the Fetch API as I was having a difficult time finding a good OAuth 1 client which would support Wordpress REST API OAuth.
If I could just get help in how that request to get my user is supposed to be formatted, even a CURL command that I could translate to Fetch, that would be so helpful.
Thanks!
The text was updated successfully, but these errors were encountered: