The same error on mine computer! VS2019 and PowerTools 2.0.4
I set JwtBearer authentication to true but I do not see it like Google or Facebook. Why?
Hello,
Now I am getting problems with gulp as well. I change it and in packages.json:
I installed gulp and gulp-less but problems are again:
internal/modules/cjs/loader.js:638 throw err; ^
Error: Cannot find module 'gulp-less' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (O:\HRID\SOFTWARE\HRIDNDT\src\HRIDNDT.Web.Mvc\gulpfile.js:6:12) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3)
@ProjectIridium Where did you add custom yml file and build-publish?
I got it working:
smtp.gmail.com SSL OFF 587
AppCoreModule:
Configuration.ReplaceService<IMailKitSmtpBuilder, CustomMailKitSmtpBuilder>(DependencyLifeStyle.Transient);
...
public CustomMailKitSmtpBuilder(ISmtpEmailSenderConfiguration smtpEmailSenderConfiguration, IAbpMailKitConfiguration abpMailKitConfiguration) : base(smtpEmailSenderConfiguration, abpMailKitConfiguration) { }
protected override void ConfigureClient(SmtpClient client) { client.ServerCertificateValidationCallback = (sender, certificate, chain, errors) => true; base.ConfigureClient(client); }
Slightly different from aspboilerplate: https://aspnetboilerplate.com/Pages/Documents/Email-Sending