diff --git a/Shogi.Api/Program.cs b/Shogi.Api/Program.cs index 3b96cd3..15679ce 100644 --- a/Shogi.Api/Program.cs +++ b/Shogi.Api/Program.cs @@ -4,8 +4,6 @@ using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Http.Extensions; using Microsoft.AspNetCore.Http.Json; using Microsoft.AspNetCore.HttpLogging; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Identity.Web; using Microsoft.OpenApi.Models; using Shogi.Api.Managers; using Shogi.Api.Repositories; @@ -121,9 +119,9 @@ namespace Shogi.Api static void AddJwtAuth(WebApplicationBuilder builder) { - builder.Services - .AddAuthentication(JwtBearerDefaults.AuthenticationScheme) - .AddMicrosoftIdentityWebApi(builder.Configuration.GetSection("AzureAd")); + //builder.Services + // .AddAuthentication(JwtBearerDefaults.AuthenticationScheme) + //.AddMicrosoftIdentityWebApi(builder.Configuration.GetSection("AzureAd")); } static void AddCookieAuth(WebApplicationBuilder builder) diff --git a/Shogi.Api/Shogi.Api.csproj b/Shogi.Api/Shogi.Api.csproj index 429f894..f06f761 100644 --- a/Shogi.Api/Shogi.Api.csproj +++ b/Shogi.Api/Shogi.Api.csproj @@ -29,8 +29,6 @@ - - diff --git a/Shogi.Api/ShogiUserClaimsTransformer.cs b/Shogi.Api/ShogiUserClaimsTransformer.cs index c04df1f..244f83c 100644 --- a/Shogi.Api/ShogiUserClaimsTransformer.cs +++ b/Shogi.Api/ShogiUserClaimsTransformer.cs @@ -1,7 +1,6 @@ using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.JwtBearer; -using Microsoft.Identity.Web; using Shogi.Api.Extensions; using Shogi.Api.Models; using Shogi.Api.Repositories; diff --git a/Shogi.Database/Shogi.Database.sqlproj b/Shogi.Database/Shogi.Database.sqlproj index a655f76..b21c114 100644 --- a/Shogi.Database/Shogi.Database.sqlproj +++ b/Shogi.Database/Shogi.Database.sqlproj @@ -7,7 +7,7 @@ 2.0 4.1 {9b115b71-088f-41ef-858f-c7b155271a9f} - Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider + Microsoft.Data.Tools.Schema.Sql.Sql150DatabaseSchemaProvider Database diff --git a/Tests/AcceptanceTests/AcceptanceTests.csproj b/Tests/AcceptanceTests/AcceptanceTests.csproj index 8b478e4..b9b2f07 100644 --- a/Tests/AcceptanceTests/AcceptanceTests.csproj +++ b/Tests/AcceptanceTests/AcceptanceTests.csproj @@ -29,7 +29,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Tests/UnitTests/UnitTests.csproj b/Tests/UnitTests/UnitTests.csproj index 250e860..180ddf4 100644 --- a/Tests/UnitTests/UnitTests.csproj +++ b/Tests/UnitTests/UnitTests.csproj @@ -9,7 +9,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive