public async Task ExtractAuthorizationRequest_InvalidRequestIdParameterIsRejected()
        {
            // Arrange
            await using var server = await CreateServerAsync(options =>
            {
                options.Services.AddDistributedMemoryCache();

                options.UseAspNetCore()
                .EnableAuthorizationEndpointCaching();
            });

            await using var client = await server.CreateClientAsync();

            // Act
            var response = await client.PostAsync("/connect/authorize", new OpenIddictRequest
            {
                RequestId = "EFAF3596-F868-497F-96BB-AA2AD1F8B7E7"
            });

            // Assert
            Assert.Equal(Errors.InvalidRequest, response.Error);
            Assert.Equal(SR.FormatID3052(Parameters.RequestId), response.ErrorDescription);
        }