add new oauth provider

add google idconnect as new auth provider
This commit is contained in:
Rafi Arrafif
2025-08-06 15:31:24 +07:00
parent 419b5b0ae4
commit 0d71710b14
7 changed files with 121 additions and 1 deletions

View File

@ -205,6 +205,10 @@ model User {
bioProfile String? @db.Text
avatar String? @db.Text
commentBackground String? @db.Text
provider String? @db.VarChar(255)
providerId String? @unique @db.VarChar(255)
providerToken String? @db.Text
providerPayload Json? @db.Json
preference UserPreference? @relation(fields: [preferenceId], references: [id])
preferenceId String? @unique
verifiedAt DateTime?