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
Thanks for the report! I've been traveling for the US holiday, but I'll be able to take a look at this over the weekend (and should have a resolution for prior issues too).=
@PanManAms I am not able to replicate; wp.users().auth('USER', 'PASS').me() returns the expected user object. What version (plugin repo version or github commit SHA) of the API and basic auth plugin are you using?
@sebastienbarre what sort of trouble are you running into? Can you let us know the version of the WP-API plugin and basic Auth plugin you are using, and what server you are using? (E.g. Apache vs Nginx?)
Thanks for the quick reply @kadamwhite.
The issue comes from WP-API/Basic-Auth, which needs to be patched to support PHP in CGI/FastCGI mode. A PR was submitted back in March, this would be greatly helpful.
Activity
kadamwhite commentedon Nov 27, 2014
Thanks for the report! I've been traveling for the US holiday, but I'll be able to take a look at this over the weekend (and should have a resolution for prior issues too).=
PanMan commentedon Dec 2, 2014
@kadamwhite any progress?
I'm suspecting the basic auth headers between this and curl differ slightly, but not 100% sure yet
kadamwhite commentedon Dec 2, 2014
@PanManAms I am not able to replicate;
wp.users().auth('USER', 'PASS').me()returns the expected user object. What version (plugin repo version or github commit SHA) of the API and basic auth plugin are you using?PanMan commentedon Dec 4, 2014
It seemed to have something to do with the server settings on the wordpress end. This now works..
kadamwhite commentedon Dec 4, 2014
Great, glad to hear it! I have a fix for #84 as well, I'm just testing it before merging and releasing 0.3.1.
sebastienbarre commentedon Jul 8, 2016
Which server settings, if I may ask? I'm having issues to authenticate...
kadamwhite commentedon Jul 8, 2016
@sebastienbarre what sort of trouble are you running into? Can you let us know the version of the WP-API plugin and basic Auth plugin you are using, and what server you are using? (E.g. Apache vs Nginx?)
sebastienbarre commentedon Jul 8, 2016
Thanks for the quick reply @kadamwhite.
The issue comes from WP-API/Basic-Auth, which needs to be patched to support PHP in CGI/FastCGI mode. A PR was submitted back in March, this would be greatly helpful.