https://github.com/abpframework/abp/pull/8916
You can consider to custom the MultiTenancyMiddlewareErrorPageBuilder
Check your app logs.
You just need to remove the NullEmailSender
. Global search NullEmailSender
in your solution.
Can you try to remove this?
#if DEBUG
context.Services.Replace(ServiceDescriptor.Singleton<IEmailSender, NullEmailSender>());
#endif
Another way is
options.ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "sub");
I'm checking your project, wait a moment.
hi
Please remove these code and try to configure the claims in the options delegate.
https://leastprivilege.com/2017/11/15/missing-claims-in-the-asp-net-core-2-openid-connect-handler/ https://docs.microsoft.com/en-us/aspnet/core/security/authentication/claims?view=aspnetcore-6.0#mapping-claims-using-openid-connect-authentication
JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear(); JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Add("sub", ClaimTypes.NameIdentifier);