What's the version of your ABP CLI?
You can try changing the environment to test.
After run abp install-libs
on your project.
And 5.2.2 will use libs/flag-icon-css/css/flag-icons.min.css
So it seems there is no problem.
https://github.com/abpframework/abp/blob/rel-5.2/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/FlagIconCss/FlagIconCssStyleContributor.cs#L10
hi
: how to make make the WebApi implemented by "{appname}.HttpApi.Host" to understand that there is a migration pending and apply the migration to the Database once the new release is launched in the remote server?
Maybe you can refer to https://makolyte.com/ef-core-apply-migrations-programmatically/
hi
I think the spa redirect is what's stopping the "Log in with this user" from working. Can you confirm?
You can remove the spa redirect
to confirm this problem.
Or you can share a website link and username & password, and I can confirm it online. liming.ma@volosoft.com
hi
https://support.abp.io/QA/Questions/632/How-can-I-download-the-source-code-of-the-framework-Angular-packages-theme-and-pro-modules
hi
I will check it asap. Thanks
hi
The error is beacuse principal.Identities.Count() != 1
Please follow this example
public class SocialSecurityNumberClaimsPrincipalContributor : IAbpClaimsPrincipalContributor, ITransientDependency
{
public async Task ContributeAsync(AbpClaimsPrincipalContributorContext context)
{
var identity = context.ClaimsPrincipal.Identities.FirstOrDefault();
var userId = identity?.FindUserId();
if (userId.HasValue)
{
var userService = context.ServiceProvider.GetRequiredService<IUserService>(); //Your custom service
var socialSecurityNumber = await userService.GetSocialSecurityNumberAsync(userId.Value);
if (socialSecurityNumber != null)
{
identity.AddClaim(new Claim("SocialSecurityNumber", socialSecurityNumber));
}
}
}
}
You just need to add it to your blazor project. That's it.
then copy all code form TenantAppService
to your CustomTenantAppService
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(ITenantAppService))]
public class CustomTenantAppService : ITenantAppService