Loka.GLHF
KPCKevin Powell - Community
•Created by Loka.GLHF on 1/21/2024 in #back-end
Problem with google provider and next-auth.
I hope so 🙂 thanks for replying though. Appreciated.
8 replies
KPCKevin Powell - Community
•Created by Loka.GLHF on 1/21/2024 in #back-end
Problem with google provider and next-auth.
Ive only added Review , Order and Cart, other than that these things comes from the docs.
8 replies
KPCKevin Powell - Community
•Created by Loka.GLHF on 1/21/2024 in #back-end
Problem with google provider and next-auth.
Hi and ty for the quick reply. That I am aware of, but I'm quite unsure about how to handle this. since this is handled by the google provider I thought it'd be handled automatically. I have schemas set up accordingly to the docs. model User {
id String @id @default(auto()) @map("_id") @db.ObjectId
name String?
email String? @unique
username String? @unique
password String?
emailVerified DateTime?
image String?
accounts Account[]
sessions Session[]
Cart Cart[]
Review Review[]
Order Order[]
@@map("users")
}
8 replies