hi
Your question credits has been refunded.
hi
In the application solution, added some cshtml templates, for use with the emailing + text templating system.
Bundle problem.
Please share the content of the https://yourdockerwebsite/Cns.CloudTools.Blazor.styles.css in docker.
Btw you are not using the CloudControlCenterBundleContributor
class in your project. see https://docs.abp.io/en/abp/latest/UI/AspNetCore/Bundling-Minification#bundle-contributors
The Index.razor.css
is load by https://learn.microsoft.com/en-us/aspnet/core/blazor/components/css-isolation?view=aspnetcore-8.0
hi
You can check our migration guide.
https://docs.abp.io/en/abp/latest/Migration-Guides/Abp-7_4#exposing-integration-services
https://docs.abp.io/en/abp/latest/Migration-Guides/Index https://docs.abp.io/en/commercial/latest/migration-guides/index
hi
Please share the source code of the test application and module.
liming.ma@volosoft.com
Thanks.
hi
Try to add the code below to your IdentityServiceHttpApiHostModule
Configure<AbpAspNetCoreMvcOptions>(options =>
{
options.ExposeIntegrationServices = true;
});
hi
You can leave returnurl
and returnurlhash
as the empty string.
And don't use AccountAppService instead of injecting the UserManager and AccountEmailer to do same logic in your EventHandler,
hi
Can you set a breakpoint to see which object is null
?
And don't use AccountAppService
instead of injecting the UserManager
and AccountEmailer
to do same logic in your EventHandler
,
protected virtual async Task SendEmailConfirmationTokenAsync(
IdentityUser user,
string applicationName,
string returnUrl,
string returnUrlHash)
{
var confirmationToken = await UserManager.GenerateEmailConfirmationTokenAsync(user);
await AccountEmailer.SendEmailConfirmationLinkAsync(user, confirmationToken, applicationName, returnUrl, returnUrlHash);
}
hi
integration-api/identity/users/5248106e-8e76-b508-eb19-3a0403407de4/role-names - 404
The integration-api/identity/users
endpoint was introduced on AbpIdentityHttpApiModule and AbpIdentityApplicationModule
version >=7.4.0
Please check the package version. or can you share a project? liming.ma@volosoft.com
Thanks
hi
You must use 1.4.x(1.4.1-1.4.3)
as the Blazorise package version for abp 8.0.5.
hi
In the image, the role of admin can be removed by the user. Is it not the case that there must always be at least one admin for a tenant?
We don't limit this operation. You can customize it.
For the emailing confirmation issue, I tried doing this but got user does not exist error.
Please try to change the current tenant id.
public async Task HandleEventAsync(TenantCreatedEto eventData)
{
using (CurrentTenant.Change(eventData.Id))
{
var user = await UserManager.FindByEmailAsync(Input.EmailAddress);
var code = await UserManager.GenerateEmailConfirmationTokenAsync(user);
var callbackUrl = Url.Action("ConfirmEmail", "Account", new { userId = user.Id, code }, protocol: HttpContext.Request.Scheme);
await _emailSender.SendAsync(Input.EmailAddress, "Email confirmation",
$"Please confirm your email address by clicking the following link.
Confirm my email address.");
}
}