Great
hi
The value of RedirectUris is start and endwith [" , ]"
UPDATE [dbo].[OpenIddictApplications]
SET [RedirectUris] = N'["https://auth.cpat.com:44346/signout-callback-oidc", "http://cpattest.dev.approach.cpat.dev/signout-callback-oidc"]'
WHERE [Id] = Your ID
hi
Can you check your AbpSettings table values in the database? make sure the tenant has no setting values.
Thanks.
hi
The websites are 500 error now
500 Internal Server Error An internal error occurred during your request!
OK, remember to clear Redis if you use it.
You can continue to share the logs.
Thanks
hi
You can try to update PostLogoutRedirectUris as
["https://auth.cpat.com:44346/signout-callback-oidc", "http://cpattest.dev.approach.cpat.dev/signout-callback-oidc"]
You can also update the PostLogoutRedirectUris in UI page.
Checking wildcard domain for url: http://cpattest.dev.approach.cpat.dev/signout-callback-oidc
Checking wildcard domain format: https://*.auth.approach.cpat.dev/
Checking wildcard domain format: https://*.dev.approach.cpat.dev/signin-oidc
Checking wildcard domain format: https://*.dev.approach.cpat.dev/signout-callback-oidc
No wildcard domain found for url: http://cpattest.dev.approach.cpat.dev/signout-callback-oidc
The end session request was rejected because the specified post_logout_redirect_uri was invalid: http://cpattest.dev.approach.cpat.dev/signout-callback-oidc.
hi
Try to add this to your project, and I will fix it in the framework.
Thanks
using System.Reflection;
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Reflection;
using Volo.Abp.Validation;
namespace MyCompanyName.MyProjectName.Web;
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(MethodInvocationValidator), typeof(IMethodInvocationValidator))]
public class MyMethodInvocationValidator : MethodInvocationValidator
{
private readonly IObjectValidator _objectValidator;
public MyMethodInvocationValidator(IObjectValidator objectValidator)
: base(objectValidator)
{
_objectValidator = objectValidator;
}
protected override async Task AddMethodParameterValidationErrorsAsync(IAbpValidationResult context, ParameterInfo parameterInfo, object parameterValue)
{
var allowNulls = parameterInfo.IsOptional ||
parameterInfo.HasDefaultValue ||
parameterInfo.IsOut ||
TypeHelper.IsNullable(parameterInfo.ParameterType) ||
TypeHelper.IsPrimitiveExtended(parameterInfo.ParameterType, includeEnums: true);
context.Errors.AddRange(
await _objectValidator.GetErrorsAsync(
parameterValue,
parameterInfo.Name,
allowNulls
)
);
}
}
hi
I tested your project. Unable to reproduce the problem.
Video: https://streamable.com/dhgxj4 raw video https://we.tl/t-ILKnADn1vY