Activities of "liangshiwei"

Answer

Hi,

Can you explain in detail? thanks.

Answer

Hi,

This is a problem.

Try to add the following code to the .identityserver project:

public class FormTenantResolveContributor: HttpTenantResolveContributorBase
{
    public const string ContributorName = "Form";

    public override string Name => "Form";

    protected override string GetTenantIdOrNameFromHttpContextOrNull(
        ITenantResolveContext context,
        HttpContext httpContext) => httpContext.Request?.Form[context.GetAbpAspNetCoreMultiTenancyOptions().TenantKey];
}
Configure<AbpTenantResolveOptions>(options =>
{
    options.TenantResolvers.Add(new FormTenantResolveContributor());
});

Try to add the following code to the .Web project:

.AddOpenIdConnect("oidc", options =>
{
    //.......
    
    options.Events = new OpenIdConnectEvents()
    {
        OnAuthorizationCodeReceived = receivedContext =>
        {
            if (receivedContext.Request.Cookies.ContainsKey("__tenant"))
            {
                receivedContext.TokenEndpointRequest.SetParameter("__tenant",
                    receivedContext.Request.Cookies["__tenant"]);
            }

            return Task.CompletedTask;
            ;
        }
    };
}
Answer

I will check it out.

Answer

Do you initialize seed data? try run the .DbMigrator project.

Yes, you don't need to change back-end code.

Hi,

ABP vnext is redesigned and cannot be used in aspnetzero project, but Volo.Abp.TextTemplating is open source : https://github.com/abpframework/abp/tree/dev/framework/src/Volo.Abp.TextTemplating. You can try to port to aspnetzero.

In addition you can open an feature request on aspnetboilerplate : https://github.com/aspnetboilerplate/aspnetboilerplate/issues/new

Hi,

Please see the document: https://identityserver4.readthedocs.io/en/latest/topics/refresh_tokens.html

Hi,

I tested, it's work.

First create a client

Then configure oauth.20 on the zapier development platform

Click the login button

Hi,

You can set the expiration time and use the refresh token to get a new access token

Hi,

There have an example : https://github.com/abpframework/abp-samples/tree/master/RabbitMqEventBus, maybe can help you.

Showing 6371 to 6380 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 08, 2025, 09:55