Add provider-neutral Google authentication

This commit is contained in:
hz
2026-07-20 21:42:56 -05:00
parent 48e19f138e
commit 72fd1e3e0f
20 changed files with 1084 additions and 36 deletions
@@ -8,12 +8,17 @@ public sealed class AuthDataInitializer(
AuthUserStore users,
TokenBlacklistStore blacklist,
SteamAuthTransactionStore steamTransactions,
ExternalIdentityStore externalIdentities,
ExternalAuthTransactionStore externalTransactions,
PasswordResetStore passwordResets,
ILogger<AuthDataInitializer> logger)
{
public async Task InitializeAsync()
{
await BackfillNormalizedEmailsAsync();
await externalIdentities.BackfillSteamAsync(logger);
await externalIdentities.EnsureIndexesAsync();
await externalTransactions.EnsureIndexesAsync();
await users.Collection.Indexes.CreateManyAsync([
new CreateIndexModel<AuthUser>(