Activities of "maliming"

Answer

hi

Can you share a new microservice project(added b2c code) and steps? liming.ma@volosoft.com

hi

For mvc you can custom the DomainTenantResolver to make it possible.

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.MultiTenancy/Volo/Abp/AspNetCore/MultiTenancy/DomainTenantResolveContributor.cs#L26

Good news.

hi

Can you compare the config in the angular example?

https://github.com/abpframework/abp-samples/blob/master/DomainTenantResolver/NG/angular/src/environments/environment.ts

hi

, I am successfully receiving loginInfo from SignInManager.GetExternalLoginInfoAsync() except ProviderKey value.

Can you share a brand new project that can reproduce the problem, liming.ma@volosoft.com

hi

I think the Ocelot doesn't support the wildcard feature.

https://github.com/ThreeMammals/Ocelot/issues/480

Answer

hi

https://github.com/IdentityServer/IdentityServer4/issues/2909#issuecomment-455272877

Answer

hi

context.Services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme)
            .AddJwtBearer(options =>
            {
                options.Authority = configuration["AuthServer:Authority"];
                options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]);
                options.Audience = "BookPro";
            })
            .AddMicrosoftIdentityWebApp(
                microsoftIdentityOptions =>
                {
                    microsoftIdentityOptions.Instance = "https://exceegobtoc.xxx.com/";
                    microsoftIdentityOptions.Domain = "xxx.onmicrosoft.com";
                    microsoftIdentityOptions.TenantId = "xxx";
                    microsoftIdentityOptions.ClientId = "xxx";
                    microsoftIdentityOptions.ClientSecret = "xxx";

                    microsoftIdentityOptions.CallbackPath = "/signin-oidc-demo";
                    microsoftIdentityOptions.SignedOutCallbackPath = "/signout-callback-oidc";
                    microsoftIdentityOptions.SignUpSignInPolicyId = "xxx";
                },
                cookieAuthenticationOptions =>
                {

                },
                OpenIdConnectDefaults.AuthenticationScheme,
                CookieAuthenticationDefaults.AuthenticationScheme,
                false,
                null);

        context.Services.PostConfigure<OpenIdConnectOptions>(OpenIdConnectDefaults.AuthenticationScheme, options =>
        {
            options.SignInScheme = IdentityConstants.ExternalScheme;
            options.ClaimActions.Add(new AddClaims());
        });
class AddClaims : ClaimAction
{
    public AddClaims()
        : base(null, null)
    {
    }

    public override void Run(JsonElement userData, ClaimsIdentity identity, string issuer)
    {
        var sub = identity.Claims.FirstOrDefault(x => x.Type == "sub");
        if (sub != null)
        {
            identity.AddClaim(new Claim(ClaimTypes.NameIdentifier, sub.Value));
        }

        var emails = identity.Claims.FirstOrDefault(x => x.Type == "emails");
        if (emails != null)
        {
            identity.AddClaim(new Claim(ClaimTypes.Email, emails.Value));
        }
    }
}
``

hi

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

Answer

OK, I will check it asap.

Showing 8441 to 8450 of 11531 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
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 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.