feat: add Twitter social login support by updating the auth service and user schema.

This commit is contained in:
pradeepkumar
2025-12-22 16:49:37 +05:30
parent 14e78d80e7
commit 099622dc88
2 changed files with 10 additions and 2 deletions

View File

@@ -30,6 +30,7 @@ enum AuthProvider {
LOCAL
GOOGLE
FACEBOOK
TWITTER
}
// ===========================================
@@ -49,6 +50,7 @@ model User {
authProvider AuthProvider @default(LOCAL)
googleId String? @unique
facebookId String? @unique
twitterId String? @unique
// Timestamps
createdAt DateTime @default(now())