-
Notifications
You must be signed in to change notification settings - Fork 74
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
Getting 403 response code #151
Comments
I am having the same issue, did you find any solution? Also, I get the requested data as well, along with the 403 |
@kamatheuska I wasn't able to fix it, and I'm using Basic Auth now: https://github.com/WP-API/Basic-Auth Please not, that Basic Auth is only "secure" if you use it with HTTPS. |
@jasonbahl Any ideas, or thoughts here? I am also facing this issue. |
A little late but I resolved this issue by setting my Also make sure that you use something like: https://api.wordpress.org/secret-key/1.1/salt/ To generate the key |
Thanks for the tip! |
I followed @ryntab suggestion about putting the token in the |
I've installed this plugin as described in the
README.md
and so far it works.When I request a new
authToken
with this query I get a new token for another authenticated request:When I use the received
authToken
asAuthorization
header in another query, I can query private drafts from my WordPress site, but I also get a 403 response. That's no problem for my GraphQL client on the Mac but for Apollo Client. The Apollo Client fails when trying to make an authenticated request with theauthToken
because of the 403 response.What am I doing wrong or how can I fix this?
The text was updated successfully, but these errors were encountered: