Activities of "liangshiwei"

Answer

Hi,

Please create a new question, thanks.

I don't know what is different between openiddictapplication and the others. Because I already done to add more custom field on saastenant but I am not able to add more field and display it on UI on admin to process it. And I see in the saastenant we have saastenantCreateDTO and saastenantUpdateDTO but openIddictApplication doesn't have it. Please let me know how can I implement it for openIdidictApplication.

you should add custom fields on openIdidictApplication

 ObjectExtensionManager.Instance.Modules()
    .ConfigureOpenIddict(openid =>
    {
        openid.ConfigureApplication(...)
    }

Hi,

I already provided some example code here, I think you can understand the logic and apply it to your project.

See https://abp.io/docs/latest/framework/architecture/modularity/extending/module-entity-extensions

you can check this https://abp.io/support/questions/8278/SSO-login-like-external-provider#answer-3a1655f8-011b-019e-4e65-5984107ee69b

It works for me

context.Services.AddAuthentication()
    .AddOpenIdConnect("test","test", options =>
    {
        options.Authority = "https://localhost:44363/";
        options.ClientId = "test";

        options.Events.OnRedirectToIdentityProvider = async redirectContext =>
        {
            redirectContext.ProtocolMessage.IssuerAddress = "https://test.com";
            redirectContext.ProtocolMessage.Parameters["client_id"] = "test2";

        };
    });

Email 'abhishek101@gmail.com' is already taken.

I think the error message is clear, there already a user with email abhishek101@gmail.com

2.

you can remove admin role for admin user manually, and assign a new role to this user.

private async Task AssignPermissionsToAdminRoleAsync(Guid tenantId)
{
    using (_currentTenant.Change(tenantId))
    {
        var user = await _identityUserManager.FindByEmailAsync(Input.EmailAddress);
        // remove admin role and assign a new role here
        ....
        
    }
}

Hi,

You need to change the responseType to code

Hi,

ABP won't change it programmatically unless you change it in the openiddict UI

Answer

Hi,

The problem is you haven't configured the ABP module.

I shared the project with you, please check it.

Showing 681 to 690 of 6692 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 15, 2025, 14:41