Fixes the UI testing wwwroot

This commit is contained in:
Paul Schneider 2026-06-14 20:05:01 +01:00
commit e137c3e2ff
10 changed files with 35 additions and 14 deletions

View file

@ -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;

View file

@ -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");

View file

@ -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>