hi
Please try to using MyOpenLdapManager to check the username and password
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(OpenLdapManager), typeof(ILdapManager), typeof(LdapManager))]
public class MyOpenLdapManager : OpenLdapManager
{
public MyOpenLdapManager(ILdapSettingProvider ldapSettingProvider)
: base(ldapSettingProvider)
{
}
protected async override Task<string> NormalizeUserNameAsync(string userName)
{
var username = $"cn={userName},{await LdapSettingProvider.GetBaseDcAsync()}";
Logger.LogError("MyOpenLdapManager username: " + username);
return username;
}
protected async override Task AuthenticateLdapConnectionAsync(ILdapConnection connection, string username, string password)
{
Logger.LogError("MyOpenLdapManager username: " + username);
Logger.LogError("MyOpenLdapManager password: " + password);
await connection.BindAsync(Native.LdapAuthType.Simple, new LdapCredential()
{
UserName = username,
Password = password
});
}
}
: )
hi
Can you create a new question for this?
Thanks.
hi
If you don't need to deploy maui project in GitHub Action you can remove it from solution(.sln).
dotnet sln <SolutionFile> remove <ProjectFile>
see https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-sln#remove
hi
I tried to use the AbpLdapSample console app
Can you share your test code?
liming.ma@volosoft.com
Thanks.
hi
Have you added the Authorization header with Bearer {access_token} for your request?
Please share your code using grpc
Thanks.
hi
If you can use SAML authentication in asp net core web app. then you can use it in abp.
Do you have document or code to use SAML in asp net core?
And we have a ExternalLoginProvider system: https://github.com/abpframework/abp/issues/4977#issuecomment-670006297
hi
Can you share the logs.txt of your application?
liming.ma@volosoft.com
Thanks.
ok.