Hello Bozkan,
It seems that LDAP is already an optional feature that can be enabled via checkbox from the Tenant management pages.
https://docs.abp.io/en/commercial/4.3/modules/account/ldap
Are you saying you want to have the same functionality, but using LDAPS (Secure)? separate from standard LDAP?
Hello Bozkan, I have discussed this with the team internally and we will bring this functionality to Abp 8.
For now, I will try to assist you in explaining how to overwrite the existing module with your own LDAP module so that it has these extra settings.
You need to first get the source code for the LDAP module. The ABP repository has many modules inside it, please download the source, and find the LDAP module. https://github.com/abpframework/abp/tree/dev/framework/src/Volo.Abp.Ldap
I recommend that since this module is quite small, you just copy and paste the files into your own solution as a separate project. You need to connect it via project reference to your main application - replacing the nuget packages you currently have referenced.
After this, you can make changes to the LDAP source code here, and it will reflect into your project.
To add LDAPS, you need to:
await connection.BindAsync((await LdapSettingProvider.GetSecureAsync()) ? Native.LdapAuthType.Secure : Native.LdapAuthType.Simple, new LdapCredential()Secure boolean setting.@bozkan if you have no further questions we will close this in a few days. Please let me know
Does this happen even if you keep refreshing the page?
sure, worthy777@proton.me
Tunkcay, is this the standard ABP commercial template that you are trying to run? How did this problem start? Was it working before you changed something?
I would first like to ask if a new solution has the same problem. After that we should try to compare the code differences.
Hello hossein_jalili,
I think you are missing the registrator of the handler.
There is some code to show how to do this in AppModule in the sample on that page.
@NgModule({
// ...
providers: [
// ...
{ provide: HTTP_ERROR_HANDLER, useValue: handleHttpErrors }
],
declarations: [
//...
Error404Component],
})
export class AppModule {}
Could you make sure AppModule has this for me?
Thanks
I understand.
The problem is right now you have 2 handlers registered. So as Mahmut said, instead you can now override the registered StatusCodeErrorHandlerService with your own.
@mahmut can you confirm which version of the frontend package this StatusCodeErrorHandlerService was introduced?
Hello @sunivycsm
Have you seen this guide? https://docs.abp.io/en/commercial/latest/startup-templates/application/deployment-docker-compose?UI=MVC&DB=EF&Tiered=No