I figured it out by myself. I removed the created projects, and re-create them.
I doubt that caused by Visual Studio Community 2022 for Mac(m1), especially when I created some modules in a sub-solution folder,
some wired situations occurred, the references among projects became mass.
Finally, I created the modules in the 'src' folder and then dragged them to the empty sub-solution folder manually, everything works fine.
The Windows development experience is still better than Mac when I developed .net application.
It works, after set enable ssl to true.
I read the document again, at the bottom of the doc, I found
#if DEBUG
context.Services.Replace(ServiceDescriptor.Singleton<IEmailSender, NullEmailSender>());
#endif
Now, I removed it. But got the server error response.
The server response was: 5.7.3 STARTTLS is required to send mail [MW4PR04CA0068.namprd04.prod.outlook.com 2023-09-13T19:26:35.653Z 08DBB3F5C6583CE3]
I saw the log printed,
USING NullEmailSender
What's the meaning of that? How to figure out?
Hi,
Which authserver provider are you using? IdentityServer or Openiddict
Openiddict