[PR #146] [CLOSED] Implement Google OAuth for user authentication #753

Closed
opened 2026-02-26 18:48:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/146
Author: @ephraimduncan
Created: 5/6/2023
Status: Closed

Base: mainHead: doc-31


📝 Commits (10+)

  • 93d933e feat: create new user with Google OAuth
  • 9df6333 Update Identity Provider on sign-in
  • 9b8cb7f Redirect user to dashboard when authenticated with oauth
  • 332249b Set profile picture on dashboard with picture from oauth
  • d90aeab fix user null when fetched
  • 98bda82 fix credential login returning null
  • 735da80 fixes from code review
  • 978e6a2 Access user provider in token
  • c45aa03 fix: merge conflicts with main
  • 9c35732 Merge branch 'main' into doc-31

📊 Changes

14 files changed (+951 additions, -7548 deletions)

View changed files

📝 .env.example (+7 -0)
📝 apps/web/components/login.tsx (+75 -21)
📝 apps/web/components/navigation.tsx (+23 -18)
📝 apps/web/next.config.js (+8 -0)
📝 apps/web/package.json (+4 -1)
📝 apps/web/pages/api/auth/[...nextauth].ts (+27 -5)
📝 apps/web/pages/dashboard.tsx (+8 -13)
📝 apps/web/pages/index.tsx (+1 -1)
📝 package-lock.json (+793 -7485)
📝 package.json (+1 -2)
📝 packages/lib/mail/sendMail.ts (+0 -1)
📝 packages/lib/server/getUserFromToken.ts (+1 -1)
packages/prisma/migrations/20230506112224_doc_31/migration.sql (+2 -0)
📝 packages/prisma/schema.prisma (+1 -0)

📄 Description

Closes #106


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/146 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 5/6/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `doc-31` --- ### 📝 Commits (10+) - [`93d933e`](https://github.com/documenso/documenso/commit/93d933e0b764be842553997aa027dec101d2178a) feat: create new user with Google OAuth - [`9df6333`](https://github.com/documenso/documenso/commit/9df6333a7cd8e3243ac978e91ed4eb79c67c9d7b) Update Identity Provider on sign-in - [`9b8cb7f`](https://github.com/documenso/documenso/commit/9b8cb7f515670d9183352d8641a5a9a5c805c473) Redirect user to dashboard when authenticated with oauth - [`332249b`](https://github.com/documenso/documenso/commit/332249b281586456453c9c02de20f89e4f44b210) Set profile picture on dashboard with picture from oauth - [`d90aeab`](https://github.com/documenso/documenso/commit/d90aeabdb1f17368996cf944c57aa4cff096b237) fix user null when fetched - [`98bda82`](https://github.com/documenso/documenso/commit/98bda82b053ac668157b6f3c87c8faf22a419de9) fix credential login returning null - [`735da80`](https://github.com/documenso/documenso/commit/735da804a3f1b6a2a56f8df9af87bde732e22a23) fixes from code review - [`978e6a2`](https://github.com/documenso/documenso/commit/978e6a2ced4482ca8aed337167cd0c58134cdd2f) Access user provider in token - [`c45aa03`](https://github.com/documenso/documenso/commit/c45aa03c33f12c55f724f3e80e359bcbf55dc4a0) fix: merge conflicts with main - [`9c35732`](https://github.com/documenso/documenso/commit/9c35732592d2b4b51db14e0850a9416b581d8b46) Merge branch 'main' into doc-31 ### 📊 Changes **14 files changed** (+951 additions, -7548 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+7 -0) 📝 `apps/web/components/login.tsx` (+75 -21) 📝 `apps/web/components/navigation.tsx` (+23 -18) 📝 `apps/web/next.config.js` (+8 -0) 📝 `apps/web/package.json` (+4 -1) 📝 `apps/web/pages/api/auth/[...nextauth].ts` (+27 -5) 📝 `apps/web/pages/dashboard.tsx` (+8 -13) 📝 `apps/web/pages/index.tsx` (+1 -1) 📝 `package-lock.json` (+793 -7485) 📝 `package.json` (+1 -2) 📝 `packages/lib/mail/sendMail.ts` (+0 -1) 📝 `packages/lib/server/getUserFromToken.ts` (+1 -1) ➕ `packages/prisma/migrations/20230506112224_doc_31/migration.sql` (+2 -0) 📝 `packages/prisma/schema.prisma` (+1 -0) </details> ### 📄 Description Closes #106 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 18:48:46 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#753
No description provided.