I didn't. I've searched and didn't find any. It's all :Volo.Abp.AutoMapper 5.3.2
We want to update the content in the grid on admin identity management page. We want to manipulate the data returned, use if for creating a link to a customized user's profile. We are finding it difficult to implement because our changes do not reflect on the page. We are making changes in the index.js file that does the call to get the list of users. We have put console log on the script but we didn't get any.
Note:
In all how do we make a change to client/html on this page?
Ok thanks
Hello Support,
We get an error when will filter data on the admin section of our application it throws an error as below:
Severity = ERROR InvariantSeverity = ERROR SqlState = 0A000 MessageText = nondeterministic collations are not supported for substring searches File = varlena.c Line = 1209 Routine = text_position_setup
We are using postgres db and we don't get this error in our application because we set the collation used in filtering. We changed our db collation to Provider (icu), Locale(en-u-ks-primary). This ensures our db is case insensitive.
This is one of the points we get this error IdentityUserAppService.GetListAsyncfound in Volo.Abp.Identity namespace
We get same error in other location but once we fix this we can handle others. In this method the error comes up calling UserRepository.GetCountAsync method
In our own code to prevent this error we do something like the code below for filtering:
queryable = queryable.Where(u => EF.Functions.Collate(u.Name, "default").ToLower().Contains(filter)
|| EF.Functions.Collate(u.Surname, "default").ToLower().Contains(filter));
Thanks but it's not the identityserver that's not starting now. It's another service. We will deal with getting identityserver a certificate later
Hello Support,
We are ready to deploy our application on Azure Kubernetes. We have a challenge with certificate. How do we deploy our microservice so they communicate via http and the services don't expect a certificate.
We get the error below when the application is starting:
[01:51:50 INF] Initialized all ABP modules. [01:51:51 FTL] UrvinFinance.DataService.HttpApi.Host terminated unexpectedly! Interop+Crypto+OpenSslCryptographicException: error:2006D080:BIO routines:BIO_new_file:no such file at Interop.Crypto.CheckValidOpenSslHandle(SafeHandle handle) at Internal.Cryptography.Pal.OpenSslX509CertificateReader.FromFile(String fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags) at System.Security.Cryptography.X509Certificates.X509Certificate..ctor(String fileName, String password, X509KeyStorageFlags keyStorageFlags) at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(String fileName, String password) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Certificates.CertificateConfigLoader.LoadCertificate(CertificateConfig certInfo, String endpointName) at Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader.LoadDefaultCert() at Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader.Reload() at Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader.Load() at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken) at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at UrvinFinance.DataService.Program.Main(String[] args) in /Users/robertbordeaux/localProd/urvin/UrvinTerminal/services/data/src/UrvinFinance.DataService.HttpApi.Host/Program.cs:line 40
Regards, Otee
I added this line of code in PreConfigureServices section of AuthServer
PreConfigure<IdentityOptions>(builder => { builder.Lockout = new LockoutOptions { AllowedForNewUsers = Convert.ToBoolean(configuration.GetSection("UserLockOutOptions:AllowedForNewUsers").Value), MaxFailedAccessAttempts = Convert.ToInt32(configuration.GetSection("UserLockOutOptions:MaxFailedAccessAttempts").Value), }; });
It should set LockoutEnabled to false for new users but this still remains true. I also tried same in PostConfigureServices and ConfigureServices
I read this suggestion here https://github.com/aspnetboilerplate/aspnetboilerplate/issues/4029 one of the suggestions is similar to my implementation. The second one is using AbpZero . I might need a license for it and not sure it will work.
This worked thanks
Thanks it worked. But now the UserManager<IdentityUser> _userManager is not injected. I get
DependencyResolutionException: None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'UrvinFinance.AuthServer.IdentityGrant.DelegationGrantValidator' can be invoked with the available services and parameters: Cannot resolve parameter 'Microsoft.AspNetCore.Identity.UserManager1[Microsoft.AspNetCore.Identity.IdentityUser] userManager' of constructor 'Void .ctor(Microsoft.AspNetCore.Identity.UserManager
1[Microsoft.AspNetCore.Identity.IdentityUser])'.
I believe this is already registered because it works for controllers.