Add Google OAuth

This commit is contained in:
2025-08-08 16:47:02 +00:00
parent 486bbf5475
commit 171a2bf3ed
18 changed files with 491 additions and 329 deletions

View File

@@ -20,6 +20,8 @@ type User struct {
AdminVerified bool `json:"adminVerified" bson:"adminVerified"`
CreatedAt time.Time `json:"created_at" bson:"createdAt"`
UpdatedAt time.Time `json:"updated_at" bson:"updatedAt"`
Provider string `json:"provider,omitempty" bson:"provider,omitempty"`
GoogleID string `json:"googleId,omitempty" bson:"googleId,omitempty"`
}
type LoginRequest struct {