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
558 stars 160 forks source link

Authenticate using email and password #167

Closed princesust closed 5 years ago

princesust commented 5 years ago

I need to authenticate a user by email and password. But I didn't find any way to use user email instead of user name. Is it possible?

princesust commented 5 years ago

I got a way out. If I send email in the username field then it works. But I think it's confusing. So I hope maintainer will clear it in docs.