Tmeister / wp-api-jwt-auth

A simple plugin to add JSON Web Token (JWT) Authentication to WP REST API
GNU General Public License v2.0
549 stars 159 forks source link

(fix): headers with basic auth #222

Closed edwinsiebel closed 1 year ago

edwinsiebel commented 3 years ago

Fixes #212.

If header contains a basic auth authentication, an error is thrown: Authorization header malformed; it expects a Bearer token.

This PR fixes this.

edwinsiebel commented 2 years ago

Are you still updating this repo?

ffauvel commented 1 year ago

Wordpress Application Passwords is using Basic Authentication.

https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/

Activating this plugin broke the Wordpress Application Passwords functionnality.

This PR is fixing this major issue.