From 38ee767d66fd267d0b1bc7f98e6e4295f0725362 Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Fri, 1 Dec 2023 20:59:45 +0800 Subject: [PATCH] Set RequireHttpsMetadata = false to allow HTTP traffic --- samples/ConsoleApp/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/ConsoleApp/Program.cs b/samples/ConsoleApp/Program.cs index 65bed07..c46207d 100644 --- a/samples/ConsoleApp/Program.cs +++ b/samples/ConsoleApp/Program.cs @@ -17,7 +17,7 @@ // after the user has authenticated. default is "/casdoor/signin-callback" CallbackPath = "/callback", // Optional: Whether require https for casdoor endpoint - RequireHttpsMetadata = true, + RequireHttpsMetadata = false, // Optional: The scopes that the client is requesting. Scope = "openid profile email"