From 5393e1f27ff673c039dda5cd08e0b7974b30a336 Mon Sep 17 00:00:00 2001 From: Benedikt <benedikt.achatz@gmail.com> Date: Mon, 16 Aug 2021 23:20:08 +0200 Subject: [PATCH] Adapted test case to set Authority to an http address (#35361) --- .../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 864b9e3ace7..2cb2314fa04 100644 --- a/src/Security/Authentication/test/OpenIdConnect/OpenIdConnectConfigurationTests.cs +++ b/src/Security/Authentication/test/OpenIdConnect/OpenIdConnectConfigurationTests.cs @@ -521,7 +521,7 @@ namespace Microsoft.AspNetCore.Authentication.Test.OpenIdConnect { 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) -- GitLab