Skip to content

Commit

Permalink
Fix some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgodbe committed Mar 17, 2020
1 parent b3b1da4 commit 537bed1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Build" Version="3.2.0-preview2.20160.5" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="3.2.0-preview2.20160.5" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.HttpClient" Version="3.2.0-preview2.20160.5" />
<PackageReference Include="Microsoft.AspNetCore.Http.Connections.Client" Version="3.2.0-dev" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="3.1.2" />
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public void ConfigureServices(IServiceCollection services)
{
// Configure the Authority to the expected value for your authentication provider
// This ensures the token is appropriately validated
options.Authority = "http://localhost:5000/";
options.RequireHttpsMetadata = false;
//options.Authority = "http://localhost:5000/";
//options.RequireHttpsMetadata = false;

// We have to hook the OnMessageReceived event in order to
// allow the JWT authentication handler to read the access
Expand Down Expand Up @@ -88,8 +88,8 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
app.UseHsts();
}

app.UseAuthentication();
app.UseHttpsRedirection();
app.UseAuthentication();
app.UseBlazorFrameworkFiles();
app.UseStaticFiles();

Expand Down

0 comments on commit 537bed1

Please sign in to comment.