Map additional endpoints for Identity.

This commit is contained in:
Jared Goodwin 2024-02-19 15:30:40 -08:00
parent 2694188547
commit e3da9f00be

View File

@ -285,6 +285,8 @@ app.MapControllers();
app.MapRazorComponents<App>()
.AddInteractiveServerRenderMode();
app.MapAdditionalIdentityEndpoints();
using (var scope = app.Services.CreateScope())
{
using var context = scope.ServiceProvider.GetRequiredService<AppDb>();