diff --git a/src/OpenIddict.Validation/OpenIddictValidationHandlers.cs b/src/OpenIddict.Validation/OpenIddictValidationHandlers.cs index 20448a4f..8f598a87 100644 --- a/src/OpenIddict.Validation/OpenIddictValidationHandlers.cs +++ b/src/OpenIddict.Validation/OpenIddictValidationHandlers.cs @@ -374,7 +374,11 @@ namespace OpenIddict.Validation { context.Logger.LogDebug(exception, "An error occurred while introspecting the access token."); - // If an error occurred while introspecting the token, allow other handlers to validate it. + context.Reject( + error: Errors.InvalidToken, + description: "The specified token is not valid."); + + return; } } }