Skip to content

Commit

Permalink
Set RequireHttpsMetadata = false to allow HTTP traffic
Browse files Browse the repository at this point in the history
  • Loading branch information
hsluoyz committed Dec 1, 2023
1 parent 6d0b3b4 commit 38ee767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/ConsoleApp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 38ee767

Please sign in to comment.