Activities of "duyan11110"

Answer

Hi,

Already sent the log file. Pls check.

Answer

You only need the log of AuthServer, right?

Answer

Hi,

Added as your suggestion, but the debug logs are all about OpenIddict logs

I don't know why it takes about 6s to redirect to the home page?

Answer

Hi,

I have one more question.

As you can see in the red are, after login with LDAP successfully (very fast now), which actions happened during that time (6 seconds), and how can I improve it?

Answer

Hi,

Tks for your suggestion, It fixes my issue. conn.SearchAsync is very slow.

But if you want to keep using http, you should apply AddSameSiteCookiePolicy to all your websites.

I already applied this one for Web project, and I've just applied for AuthServer project, but still get the error:

public override void ConfigureServices(ServiceConfigurationContext context)
{
    var hostingEnvironment = context.Services.GetHostingEnvironment();
    var configuration = context.Services.GetConfiguration();

    if (!Convert.ToBoolean(configuration["App:DisablePII"]))
    {
        Microsoft.IdentityModel.Logging.IdentityModelEventSource.ShowPII = true;
    }
    
    if (!Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]))//false in appsettings.json
    {
        Configure<OpenIddictServerAspNetCoreOptions>(options =>
        {
            options.DisableTransportSecurityRequirement = true;// Already had from old version
        }); 
    }

    context.Services.AddSameSiteCookiePolicy(); // just added this line
    ...
  }

And as I said above, everything's still OK before upgrading

No, I am using OpenIdDict, but I already applied that solution and it worked fine before upgrading

Hi,

Changing to https is taking time, is there any way to use http. Everything's still OK before upgrading.

Hi, Just call RefreshManyAsync above to refresh or other method?

Hi, So that means there is no way to refresh the cache immediately, right?

Showing 1 to 10 of 39 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11