Skip to content

Commit abe07a1

Browse files
committed
feat(auth): implement OAuth authentication flow
1 parent cc23556 commit abe07a1

5 files changed

Lines changed: 479 additions & 80 deletions

File tree

apps/backend/prisma/schema.prisma

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ model User {
1919
displayName String @map("display_name")
2020
bio String?
2121
pronouns String?
22-
role Role @default(USER)
22+
role String?
23+
authRole Role @default(USER)
2324
company String?
2425
avatarUrl String? @map("avatar_url")
2526
accentColor String @default("#6366f1") @map("accent_color")

0 commit comments

Comments
 (0)