WIP audiences
This commit is contained in:
parent
9846210fd6
commit
f3bb039d2f
15 changed files with 102 additions and 82 deletions
|
|
@ -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>>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue