Skip to content

Commit

Permalink
React to changes in rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfowl committed Sep 17, 2023
1 parent ea30470 commit 7ca46be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<PackageVersion Include="Microsoft.OpenApi" Version="1.6.5" />
<PackageVersion Include="MiniValidation" Version="0.8.0" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageVersion Include="AspNet.Security.OAuth.GitHub" Version="7.0.2" />
<PackageVersion Include="Auth0.AspNetCore.Authentication" Version="1.2.0" />
<PackageVersion Include="Microsoft.AspNetCore.Authentication.Google" Version="8.0.0-preview.6.23329.11" />
<PackageVersion Include="Microsoft.AspNetCore.Authentication.MicrosoftAccount" Version="8.0.0-preview.6.23329.11" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.0-preview.6.23329.11" />
<PackageVersion Include="AspNet.Security.OAuth.GitHub" Version="7.0.4" />
<PackageVersion Include="Auth0.AspNetCore.Authentication" Version="1.3.1" />
<PackageVersion Include="Microsoft.AspNetCore.Authentication.Google" Version="8.0.0-rc.1.23421.29" />
<PackageVersion Include="Microsoft.AspNetCore.Authentication.MicrosoftAccount" Version="8.0.0-rc.1.23421.29" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.0-rc.1.23421.29" />
<PackageVersion Include="Yarp.ReverseProxy" Version="2.0.1" />
<PackageVersion Include="Microsoft.Tye.Extensions.Configuration" Version="0.10.0-alpha.21420.1" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0-preview.6.23329.11" />
Expand Down
2 changes: 1 addition & 1 deletion TodoApi/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var builder = WebApplication.CreateBuilder(args);

// Configure auth
builder.Services.AddAuthentication().AddIdentityBearerToken<TodoUser>();
builder.Services.AddAuthentication().AddBearerToken(IdentityConstants.BearerScheme);
builder.Services.AddAuthorizationBuilder().AddCurrentUserHandler();

// Configure identity
Expand Down

0 comments on commit 7ca46be

Please sign in to comment.