After updating the app; you can either use FrontChannel Logout (simply; Single Sign Out from all of your apps connected to IdentityServer).
If you don't want to use this feature, change the FrontChannelLogoutSessionRequired
field of IdentityServerClients
table to value 0
of the application.
If you want Single Sign Out, you need to add new data to get redirected after “You have been logged out and will be redirected” message; change the FrontChannelLogoutUri
field of your IdentityServerClients
table to value https://yourAppDomain/Account/FrontChannelLogout of your application.
One thing I noticed and seems new to me was a message that says “You have been logged out and will be redirected” I’ve never seen this before and our app doesn’t do this. We created our app in version 2.7.0. We upgraded to version 3.0.4 and I’m wondering if we lost something.
Inject IEmailSender interface to your class and call the SendAsync
method.
Also see How-to-configure-email-settings
How can I send email in ABP framework?
You can write the email settings to the AbpSettings
table.
| Name | Value | Provider Name | |----------------------------------------|---------------------------|----------------| | Abp.Mailing.Smtp.EnableSsl | true | G | | Abp.Mailing.Smtp.Password | {encrypted password} | G | | Abp.Mailing.Smtp.Domain | | G | | Abp.Mailing.DefaultFromDisplayName | My Company | G | | Abp.Mailing.Smtp.UseDefaultCredentials | false | G | | Abp.Mailing.Smtp.Host | smtp-relay.sendinblue.com | G | | Abp.Mailing.Smtp.Port | 587 | G | | Abp.Mailing.Smtp.UserName | account@mymail.com | G |
The password field is encrypted, therefore you need to write the password as encrypted.
How to encrypt my email password? You can encrypt your email password with IStringEncryptionService
Also see How-to-configure-email-settings
I want to write email settings to my database. How can I do that?
hi @wai, as I understand from your question you don't know basics of the application. you can create an application service and call the domain services in this new service. all application services are being exposed as WebAPIs by default. you can check Swagger to see how it can be called via JavaScript. also see https://docs.abp.io/en/abp/latest/Application-Services
@talhazengin, Check the package.json... it must be as the following
{
"version": "1.0.0",
"name": "my-app",
"private": true,
"dependencies": {
"@volo/abp.aspnetcore.mvc.ui.theme.lepton": "^3.0.3",
"@volo/saas": "^3.0.3",
"@volo/audit-logging": "^3.0.3",
"@volo/identity": "^3.0.3"
}
}
you can also download a specific commercial package with the following URL:
Eg: Volo.Abp.Commercial.SuiteTemplates , version 3.0.3
https://nuget.abp.io/<YOUR_API_KEY>/v3/package/Volo.Abp.Commercial.SuiteTemplates/3.0.3/Volo.Abp.Commercial.SuiteTemplates.3.0.3.nupkg