hack to get Passkeys working

This commit is contained in:
sbwalker
2025-10-22 16:39:52 -04:00
parent ac9b7a60fd
commit cf3a86dc4a
2 changed files with 10 additions and 5 deletions

View File

@@ -84,11 +84,7 @@ namespace Microsoft.Extensions.DependencyInjection
options.Cookie.HttpOnly = true;
});
services.AddIdentityCore<IdentityUser>(options =>
{
// must be set prior to AddEntityFrameworkStores
options.Stores.SchemaVersion = IdentitySchemaVersions.Version3;
})
services.AddIdentityCore<IdentityUser>(options => { })
.AddEntityFrameworkStores<TenantDBContext>()
.AddSignInManager()
.AddDefaultTokenProviders()