debug authentication by magic link

Context

When logging in with magic link there is an error occuring when backend server tries to send the request to the email server :

 ERROR  [nitro] [unhandledRejection] connect ECONNREFUSED 127.0.0.1:25 

Expected result

A sign-in email should arrive in your own mailbox when signing in with the magic link button

So if you want to sign in with this email : my.email@my-domain.com

Magic link

Capture_d_écran_2024-12-03_à_19.07.32

Sign-in message in your mailbox

Sign in to localhost:3000
http://localhost:3000/api/auth/callback/send?callbackUrl=http%3A%2F%2Flocalhost%3A3000%2Fme%2Fprofile&token=b51d9e05fea87d3e4f4d9e96627a7a1e2926ff3abf5b789190fcafXXXXXXXXXXXXX&email=my.email%40my-domain.com

Propositions of steps to do

See !16 (merged)

Definition of DONE

Describe the acception criterias to consider the issue as DONE:

  • Unitary tests are implemented
  • Types are checked
  • Linting is done
  • Functional tests are done: expected result is observed in each concerned condition

Questions / Comments (optional)

Edited by Julien_P