Fixes the UI testing wwwroot
This commit is contained in:
parent
e83ef7730b
commit
e137c3e2ff
10 changed files with 35 additions and 14 deletions
|
|
@ -14,7 +14,6 @@ using IdentityModel;
|
|||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Yavsc;
|
||||
using Yavsc.Interface;
|
||||
using Yavsc.Models;
|
||||
using Yavsc.Services;
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ JwtSecurityTokenHandler.DefaultMapInboundClaims = true;
|
|||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
builder.AddConfiguration("web");
|
||||
|
||||
var authSection = builder.Configuration.GetSection("Authentication");
|
||||
|
||||
var issuer = authSection.GetValue<String>("Issuer");
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Yavsc.Abstract\Yavsc.Abstract.csproj" />
|
||||
<ProjectReference Include="..\Yavsc.Abstract\Yavsc.Server.csproj" />
|
||||
<ProjectReference Include="..\Yavsc.Server\Yavsc.Server.csproj" />
|
||||
<PackageReference Include="IdentityModel.AspNetCore" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
|
||||
</ItemGroup>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue