ok, I will try to find the reason. It seems the MySql.EntityFrameworkCore
has some problems.
Thanks @auxo-devsu
hi
There is a problem when checking the handler type. If no handler is found, the Processed
will be set to true
Please add a MyProxyHelper
to resolve the problem. https://github.com/abpframework/abp/pull/23545
Thanks.
public static class MyProxyHelper
{
private const string ProxyNamespace = "Castle.Proxies";
public static Type GetUnProxiedType(Type type)
{
return type.Namespace == ProxyNamespace ? type.GetTypeInfo().BaseType! : type;
}
}
https://github.com/abpframework/abp/pull/23561
Thanks. I will check and update the document.
ok, if you share your project source. I will convert your Host.cshtml
to App.razor
Please create a private GitHub repository and invite https://github.com/maliming
Thanks.
hi
Your endsession
request was sent to https://auth.approach.cpat.dev/connect/endsession
instead of https://cpattest.auth.approach.cpat.dev/connect/endsession
Try to change IssuerAddress
:
.AddAbpOpenIdConnect("oidc", options =>
{
options.Authority = configuration["AuthServer:Authority"];
options.RequireHttpsMetadata = configuration.GetValue<bool>("AuthServer:RequireHttpsMetadata");
//...
options.Events.OnRedirectToIdentityProviderForSignOut = redirectContext =>
{
//Check current tenant here, and set the IssuerAddress accordingly
var currentTenant = redirectContext.HttpContext.RequestServices.GetRequiredService<ICurrentTenant>();
redirectContext.ProtocolMessage.IssuerAddress = "https://cpattest.auth.approach.cpat.dev";
return System.Threading.Tasks.Task.CompletedTask;
};
});
hi
There are no errors or exceptions in your logs.
Can you share the logs that contains the =An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module
?
Thanks.