Activities of "maliming"

Great

hi

Please share your project with liming.ma@volosoft.com

I will download and check it.

Thanks.

What is your project package version? abp and leptonx?

Did you use Studio to create the new project?

Thanks

hi

Can you test it in a new template project?

I have checked the source code. the logic is no problem

hi

Does your system user have at least one valid 2FA provider? eg they confirmed their email address.

I think if they have. After setting 2FA to Force, every user must log in with 2FA.

hi

If you set 2FA to Forced, The system will assume all users have 2FA enabled, but they need to configure at least one valid 2FA provider. eg: email. SMS, authenticator.

hi

You can override the UnitOfWorkMongoDbContextProvider's CreateMongoClient method to change the code of creating MongoClient.

Add YourUnitOfWorkMongoDbContextProvider : UnitOfWorkMongoDbContextProvider

Then replace it in DI.

context.Services.TryAddTransient(
    typeof(IMongoDbContextProvider<>),
    typeof(UnitOfWorkMongoDbContextProvider<>)
);

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.MongoDB/Volo/Abp/Uow/MongoDB/UnitOfWorkMongoDbContextProvider.cs#L300-L306

var connectionString = "mongodb+srv://ibl-mongo.dizxt.mongodb.net/tri-app-db?retryWrites=true&w=majority&appName=ibl-mongo&tls=true&authMechanism=MONGODB-X509&authSource=%24external";
var settings = MongoClientSettings.FromConnectionString(connectionString);
settings.ServerApi = new ServerApi(ServerApiVersion.V1);

var cert = new X509Certificate2("C:\\projects\\development\\IBL\\Trabsitaly\\TransitalyApp\\src\\TransitalyApp.HttpApi.Host\\atlas-user-cert.pfx", "changeit");

settings.SslSettings = new SslSettings
{
    ClientCertificates = new List<X509Certificate>() { cert }
};

var client = new MongoClient(settings);

hi

We have fixed this in 9.0 version

Here is the changes:

hi

I will hide the 2FA menu from user dropbox if the current behavior is Forced,

or show the message details: It's not allowed to change two factor setting.

Thanks.

hi

Can you connect your MongoDB in another app/code?

Do you have any example code of authMechanism=MONGODB-X509?

Thanks.

Showing 2451 to 2460 of 11567 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.