Skip to content

Commit

Permalink
using userClaimsFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidEggenberger committed Mar 29, 2024
1 parent 6a8d997 commit adcb0f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public void ConfigureServices(IServiceCollection services, IConfiguration config
options.ClaimsIdentity.UserNameClaimType = ClaimConstants.UserNameClaimType;
})
.AddDefaultTokenProviders()
.AddClaimsPrincipalFactory<ApplicationUserClaimsPrincipalFactory<ApplicationUser>>()
.AddClaimsPrincipalFactory<UserClaimsPrincipalFactory<ApplicationUser>>()
.AddEntityFrameworkStores<TenantIdentityDbContext>()
.AddSignInManager();
}
Expand Down

0 comments on commit adcb0f2

Please sign in to comment.