From 2723725ab8894677255a2cb9735f6f2a8452a5b2 Mon Sep 17 00:00:00 2001 From: Benedikt Achatz Date: Sun, 15 Aug 2021 21:20:03 +0200 Subject: [PATCH] Adapted test case to set Authority to an http address --- .../test/OpenIdConnect/OpenIdConnectConfigurationTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Security/Authentication/test/OpenIdConnect/OpenIdConnectConfigurationTests.cs b/src/Security/Authentication/test/OpenIdConnect/OpenIdConnectConfigurationTests.cs index 864b9e3ace73..2cb2314fa04b 100644 --- a/src/Security/Authentication/test/OpenIdConnect/OpenIdConnectConfigurationTests.cs +++ b/src/Security/Authentication/test/OpenIdConnect/OpenIdConnectConfigurationTests.cs @@ -521,7 +521,7 @@ public Task ThrowsWhenAuthorityIsNotHttps() { o.SignInScheme = "TestScheme"; o.ClientId = "Test Id"; - o.MetadataAddress = "http://example.com"; + o.Authority = "http://example.com"; o.CallbackPath = "/"; }, ex => Assert.Equal("The MetadataAddress or Authority must use HTTPS unless disabled for development by setting RequireHttpsMetadata=false.", ex.Message)