Skip to content

Commit

Permalink
Try 3 of fixing OAuth in prod:
Browse files Browse the repository at this point in the history
It works! I HATE THIS! BUT IT WORKS!
  • Loading branch information
Simyon264 committed May 12, 2024
1 parent cc8d733 commit 6d351cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@

var app = builder.Build();

app.Use((context, next) =>
{
context.Request.Scheme = "https";
return next();
});

// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
Expand Down

0 comments on commit 6d351cf

Please sign in to comment.