WP-API / Basic-Auth

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

401 Unauthorized response only on new version of chrome/firefox browsers. #61

Open mflevie1988 opened 5 years ago

mflevie1988 commented 5 years ago

Word Press: 4.6.14 WP REST API: v2.0-beta14 JSON Basic Authentication (/WP-API/Basic-Auth): v0.1 Chrome: V74.0 Firefox: 66.0.3

When I use this plugin with older versions of browsers it gives me 302 response on this API https://website.com/wp-json/wp/v2/users/me??access_token=blnhszockfpzflz9v7nu312s but with the latest versions of browsers(firefox 57.0), it gives me 401 response. I have tried all the solutions mentioned in #35 and #32 none of them worked for me. I tried this API on Postman and works like a charm. Can anyone help me to figure this out, please?