When you put a breakpoint in CreateAsync method, do you see it comes inside the method? I want to ensure that you successfully overrided the method.
you may also use Fleunt Validation https://docs.abp.io/en/abp/latest/FluentValidation
do you see it in Swagger UI? here's a sample controller
[RemoteService(Name = "AbpIdentity")]
[Area("identity")]
[ControllerName("User")]
[Route("api/identity/users")]
public class IdentityUserController : AbpController, IIdentityUserAppService
{
[HttpGet]
[Route("{id}")]
public virtual Task<IdentityUserDto> GetAsync(Guid id)
{
return UserAppService.GetAsync(id);
}
}
Also see how you can add AbpClaimsPrincipalContributor https://github.com/abpframework/abp/issues/8073#issuecomment-799999030
You can set custom claim values for a user. See https://docs.abp.io/en/commercial/latest/modules/identity#user-claims
it uses SettingProvider
to get the configuration
See the following links:
Organization Unit data is not included in the claims.
you can include it manually by writing your custom UserClaimsPrincipalFactory
See https://github.com/abpframework/abp/issues/2614#issuecomment-575090708
by the way you can set your AbpLicenseCode, nobody can use it without logging into abp.io via ABP CLI.
Offline License Check is always being performed. Online license check is being performed when you are debugging or in Development environment.
you can use Settings to store UserAccessControl
OneTimeRunner.Run(() =>
{
AbpPermissionManagementDbProperties.DbTablePrefix = "Abc"
});