WP-API / Basic-Auth

Basic Authentication handler for the JSON API, used for development and debugging purposes
772 stars 286 forks source link

Remember to log out when using a browser curl etc. #12

Closed brianlmerritt closed 1 year ago

brianlmerritt commented 10 years ago

Basic Auth appears to authenticate users fine - hooray!

However, when accessing it via a browser curl tester like Rest Console or Postman, if that browser is already logged into the site (as admin for example) then the POST functions (insert post, change post etc) fail.

Not a bug per se, but a real gotcha for anyone testing the api...

gavinr commented 9 years ago

I have this issue too. Any ideas on ways to resolve this issue? Thanks!

mnelson4 commented 9 years ago

merge in pull request https://github.com/eventespresso/Basic-Auth/commit/c1f070b605d3f97af9b7786ac74d04f72a19617f :) It has resolved the issue for me

pgqueme commented 7 years ago

Thanks for the fork @mnelson4, it worked great for me!