Strapi reset password not using email provider

Currently I’m using the lib strapi-provider-email-brevo as email provider. When i use the “send test email” option on configuration tab, i receive the email without any problems. But its not the same when i try to use forgot-password API.

Send Test Email option showing its using the right provider


Strapi email received without any problems

My strapi plugins.js file

I tried to debug the lib, writing some console.log anywhere in the code and when I use the test button on strapi it shows me the logs but when I try to do some request using api/auth/forgot-password seems like it did not use the provider lib (https://i.imgur.com/egQzJKi.png). And yeah, the permissions are currently true (https://i.imgur.com/QaVGP5N.png). I also found an email api with “send” endpoint, I also tried to set it to true but it also didnt made any changes (https://i.imgur.com/z9KLCAb.png)

Request using thunder client on Vscode

System Information
  • Strapi Version: 4.13.7
  • Operating System: Ubuntu
  • Database: Sqlite3
  • Node Version: 18.18.1
  • NPM Version: 9.8.1
  • Yarn Version: -

I would open a issue on the provider.
so that the provider can see if the issue is on there end if it is not then a issue should be opened on the strapi/strapi repo

Im gonna do that. Thanks!

Have you tried it?