basic auth
-
Hi there,
I was very happy to find this API, great plugin but now i run into a problem I can not fix.
I used basic authorisation to retrieve userdata, it works in my development env (OSX) but when I try the same on an ubuntu production server basic auth is never picked up, also with curl I get the same result:
curl –user user:password https://localhost/wp-json/users/ always gives me [{“code”:”json_user_cannot_list”,”message”:”Sorry, you are not allowed to list users.”}]
So nothing about false credentials, the basic auth is just ignored.
I get the feeling it has to do more with core wordpress, but I was hoping you can help me.Thanks in advance
Paul van Beukering
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘basic auth’ is closed to new replies.