Activities of "maliming"

hi

Instead of adding AbpIdentityProEntityFrameworkCoreModule in AdministrationService

Can you try to configure the WebRemoteDynamicClaimsPrincipalContributorOptions in AdministrationService?

Thanks.

public override void PreConfigureServices(ServiceConfigurationContext context)
{
    PreConfigure<WebRemoteDynamicClaimsPrincipalContributorOptions>(options =>
    {
        options.IsEnabled = true;
    });
}

Also please depends on the typeof(AbpAspNetCoreAuthenticationJwtBearerModule) in AdministrationService .

hi

Please send an email to liming.ma@volosoft.com

I will share the code change with you.

Thanks

hi

I will share the code later. You only need to override one or two class model Thanks,

ok

hi

I will share the code, so you can also use it in version 8.

hi

The OpenIdConnect will validate the OpenIdConnectOptions. So you must initially set a value(Authority, ClientId).

But you can add an IPostConfigureAccountExternalProviderOptions to change it dynamically.

using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.IdentityModel.Protocols;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
using Volo.Abp.Account.Public.Web.ExternalProviders;
using Volo.Abp.DependencyInjection;

namespace AbpMicroservices.AuthServer;

public class MyOpenIdConnectOptionsPostConfigureAccountExternalProviderOptions : IPostConfigureAccountExternalProviderOptions<OpenIdConnectOptions>, ITransientDependency
{
    public Task PostConfigureAsync(string name, OpenIdConnectOptions options)
    {
        if (!string.IsNullOrEmpty(options.Authority))
        {
            options.MetadataAddress = options.Authority;
            if (!options.MetadataAddress.EndsWith('/'))
            {
                options.MetadataAddress += "/";
            }

            options.MetadataAddress += ".well-known/openid-configuration";
        }

        options.ConfigurationManager = new ConfigurationManager<OpenIdConnectConfiguration>(options.MetadataAddress, new OpenIdConnectConfigurationRetriever(),
            new HttpDocumentRetriever(options.Backchannel) { RequireHttps = options.RequireHttpsMetadata })
        {
            RefreshInterval = options.RefreshInterval,
            AutomaticRefreshInterval = options.AutomaticRefreshInterval,
        };

        return Task.CompletedTask;
    }
}

Great

ok, we will add the current info when external logging in and then check it afterward.

Thanks

:)

hi

The page in OpenIddict.Pro module.

Package names: Volo.Abp.OpenIddict.Pro.Blazor.Server Volo.Abp.OpenIddict.Pro.Blazor.WebAssembly

Module names:

AbpOpenIddictProBlazorServerModule AbpOpenIddictProBlazorWebAssemblyModule

Page URL is /openiddict/applications

Showing 2191 to 2200 of 11568 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.