Activities of "maliming"

hi

You add consider adding a factory method to resolve the IYourAppService.

Fake code:

context.Services.AddTransient<IIdentityUserAppService>(serviceProvider =>
{
    if (serviceProvider.GetRequiredService<IHttpContextAccessor>().HttpContext?.Request.IsHttps)
    {
        serviceProvider.GetRequiredService<IdentityUserAppService>();
    }
    return serviceProvider.GetRequiredService<MyIdentityUserAppService>();;
});

hi

Or this only works in the community version ABP?

It will also work on the commercial version.

AbpException: Could not find the bundle file '/_content/Blazorise.Bootstrap5/blazorise.bootstrap5.css' for the bundle 'Blazor.LeptonXTheme.Global'!

You can try without removing the blazorise package.

hi

The abp uses standard authentication of asp net core.

Thats mean you can use the asp net core way to implement your needs.

I'm wondering what would be best practice to implement such relationship and authentication using API KEY and authorization features?

You can check some articles and open-source projects.

https://www.google.com/search?q=asp+net+core+api+key+authentication

hi

I guess on the JwtBearerEvents method the authentication has not finished.

You can call the app service after app.UseAuthentication

hi

You can add a parameter on the request header. and inject the IHttpContextAccessor to try to get this parameter.

I think one AppService is enough.

hi

You can use responseType: 'code' in your angular app. If you try to log in on angular, you will be redirected to the MVC login page. And then you can log in with the Auzre ad.

https://docs.abp.io/en/abp/latest/UI/Angular/Authorization#authorization-code-flow

hi

Im not sure, It will be best if you can share a simple project. : )

hi

Can you share a simple project? liming.ma@volosoft.com

hi

How can I map user which is authenticated by external sso and our admin api, we have to match the users with email and set currentuser for permission management.

Im not understand very well, You can add some related code in your simple project.

Showing 5751 to 5760 of 10645 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.0.0-preview. Updated on September 12, 2025, 10:20