Skip to content
代码片段 群组 项目
未验证 提交 5393e1f2 编辑于 作者: Benedikt's avatar Benedikt 提交者: GitHub
浏览文件

Adapted test case to set Authority to an http address (#35361)

上级 6acac812
No related branches found
No related tags found
无相关合并请求
......@@ -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)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册