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
Can't authenticate non-admin users #51
Comments
Hey! I don't know if this can be useful but have a look at #38. Do something, go to postman, (download it from here if you don't have it) and make a GET request as follows, check if the problem is with your WordPress installation or if the problem is with this library, replace the parenthesis with your data: https://(myWordpressWebsite)/wp-json/wp/v2/users/?search=(adminemail@gmail.com)& |
Rakib I have found a solution, the main culprit is the default behaviour of WordPress itself, implementing authentication in WordPress is not that easy, as you require a specific setup to make it happen, there's a bit of refactoring needed for this library to handle incorrect login credentials, I tried to find a way to handle incorrect login credentials with the current version of the library "as is" but it needs refactoring, I don't know if this is too late for you, but if you are in a hurry and need to release something important you might have to handle for now authentication by doing manual http requests. |
Hi there, I am trying to authenticate my users but i can't.
It shows always : WordPress Error! code: wp_empty_list, message: No users found, status: null
My code
The text was updated successfully, but these errors were encountered: