How to auth with only email as identifier?

System Information
  • Strapi Version: 4.15.4
  • Operating System: Windows 11
  • Database: sqlite
  • Node Version: 20.9.0
  • NPM Version: 10.1.0


Currenctly, with the basic configutation and the Documentation plugin, the required body values are identifier, that could be the user email or the user username, and password.


  1. Replace the identifier required body value by email

I want to get an access to the API only with email and password and not with the username anymore

  1. Make the username not unique

I want to keep a required username but not unique anymore, I want it to be more like a pseudo.

Other things

Thanks for help by advance and do not esitate to contact me.