[PR #1637] [CLOSED] fix: remove non-standard fields that would cause prisma validation er… #1763

Closed
opened 2026-02-26 20:30:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1637
Author: @ephraimduncan
Created: 2/6/2025
Status: Closed

Base: mainHead: fix/oidc-login-error


📝 Commits (1)

  • 818b1ae fix: remove non-standard fields that would cause prisma validation errors

📊 Changes

2 files changed (+24 additions, -1 deletions)

View changed files

📝 package-lock.json (+15 -0)
📝 packages/lib/next-auth/auth-options.ts (+9 -1)

📄 Description

Description

This PR removes non-standard fields that would cause Prisma validation errors and more maintainable as it doesn't require schema changes for provider-specific fields.

#1342

Checklist

  • I have tested these changes locally and they work as expected.
  • I have added/updated tests that prove the effectiveness of these changes.
  • I have updated the documentation to reflect these changes, if applicable.
  • I have followed the project's coding style guidelines.
  • I have addressed the code review feedback from the previous submission, if applicable.

🔄 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/1637 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 2/6/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/oidc-login-error` --- ### 📝 Commits (1) - [`818b1ae`](https://github.com/documenso/documenso/commit/818b1ae5203bd4dffbeb23be8d750b7c9d0c957c) fix: remove non-standard fields that would cause prisma validation errors ### 📊 Changes **2 files changed** (+24 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+15 -0) 📝 `packages/lib/next-auth/auth-options.ts` (+9 -1) </details> ### 📄 Description ## Description This PR removes non-standard fields that would cause Prisma validation errors and more maintainable as it doesn't require schema changes for provider-specific fields. ## Related Issue #1342 ## Checklist - [x] I have tested these changes locally and they work as expected. - [ ] I have added/updated tests that prove the effectiveness of these changes. - [x] I have updated the documentation to reflect these changes, if applicable. - [x] I have followed the project's coding style guidelines. - [x] I have addressed the code review feedback from the previous submission, if applicable. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:30:58 +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#1763
No description provided.