WIP audiences

This commit is contained in:
Paul Schneider 2026-07-12 01:17:52 +01:00
commit f3bb039d2f
15 changed files with 102 additions and 82 deletions

View file

@ -157,8 +157,7 @@ public static class HostingExtensions
services.AddAuthentication("Bearer")
.AddYavscJwtBearer(builder.Configuration,
configure: o => o.Audience = builder.Configuration.GetSection("Site")["ExternalUrl"]);
.AddYavscJwtBearer(builder.Configuration);
services.AddTransient<RoleManager<IdentityRole>>();
services.AddTransient<IRoleStore<IdentityRole>, RoleStore<IdentityRole, ApplicationDbContext>>();