Basic auth WordPress REST API dilemma

Basic auth is a very common username/password authentication method and it’s as strong as the username-password combination and the encryption of the protocol you’re using.

The weakness of basic auth is that if you use it with plain http instead of https then the username and password is susceptible to a man-in-the-middle attack.

You can use basic auth, but make sure you are using SSL-encryption/https.

Leave a Comment