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
Authorizer breaks REST-API #4
Comments
Thanks for the report, I'll trace down the problem. |
Should be fixed in version 2.3.9, just released. Thanks for the report! |
Thanks for the quick fix. I just tried the new version and I must say that the REST API calls do work but are not protected from unauthorized users. |
Have you configured authorizer to only allow access to logged in users? In my test environment, when I configured it that way, REST calls to the /wp-json/wp/v2/posts endpoint successfully showed the wp_die() html. |
Yes, I did. Here are my settings: Login Access: Only approved users |
Here are steps to reproduce: Install fresh WP 4.4.1
call to /wp-json/wp/v2/posts returns json formated posts instead of an not_authorized error |
Thanks, I'll see what I can do. |
Fixed here: a6804e1 |
Sorry for the delay; fix just released in version 2.4.0. |
Whenever I install authorizer, all REST API calls don't work anymore. Instead I get redirected to the index page in HTML format instead of a JSON response.
It's enough to activate the plugin to break the API.
The text was updated successfully, but these errors were encountered: