[PR #2037] [MERGED] feat: add option to disable OIDC login prompt=login parameter #2007

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/2037
Author: @KarloDerEchte
Created: 9/18/2025
Status: Merged
Merged: 11/20/2025
Merged by: @Mythie

Base: mainHead: fix-#2036


📝 Commits (4)

  • e15a0a6 feat: add option to disable OIDC login prompt=login parameter and update environment configuration
  • f98026d Implemented latest upstream changes
  • e2bdbac Merge branch 'main' into fix-#2036
  • 45845d8 fix: support selecting prompt type instead

📊 Changes

3 files changed (+13 additions, -4 deletions)

View changed files

📝 .env.example (+4 -0)
📝 packages/auth/server/lib/utils/handle-oauth-authorize-url.ts (+7 -3)
📝 turbo.json (+2 -1)

📄 Description

Description

This pull request adds a flag to disable that the query paramater prompt=login gets added to the redirect url of the auth url.

Fixes #2036

Changes Made

  • Added env var NEXT_PRIVATE_OIDC_DISABLE_LOGIN_PARAMETER
  • Added NEXT_PRIVATE_OIDC_DISABLE_LOGIN_PARAMETER in turbo.json
  • Added a check that disables that prompt=login gets appended when this env var is true

Testing Performed

  • Tested that the behavoiur is default when the env var isnt defined
  • Tested that Authentik issues are fixed when the flag is turned on
  • Tested locally with Chrome

Checklist

  • I have tested these changes locally and they work as expected.
  • I have followed the project's coding style guidelines.

🔄 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/2037 **Author:** [@KarloDerEchte](https://github.com/KarloDerEchte) **Created:** 9/18/2025 **Status:** ✅ Merged **Merged:** 11/20/2025 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `fix-#2036` --- ### 📝 Commits (4) - [`e15a0a6`](https://github.com/documenso/documenso/commit/e15a0a624d6c44822705e73ec439541c5ab2ab2d) feat: add option to disable OIDC login prompt=login parameter and update environment configuration - [`f98026d`](https://github.com/documenso/documenso/commit/f98026dbfa51e59ecaa141a99ae4df5235757be0) Implemented latest upstream changes - [`e2bdbac`](https://github.com/documenso/documenso/commit/e2bdbacc0c799ac12577c7bf4e3e871af5c51e40) Merge branch 'main' into fix-#2036 - [`45845d8`](https://github.com/documenso/documenso/commit/45845d87474457f5358546d8e4f03a3b1f964e66) fix: support selecting prompt type instead ### 📊 Changes **3 files changed** (+13 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+4 -0) 📝 `packages/auth/server/lib/utils/handle-oauth-authorize-url.ts` (+7 -3) 📝 `turbo.json` (+2 -1) </details> ### 📄 Description ## Description This pull request adds a flag to disable that the query paramater prompt=login gets added to the redirect url of the auth url. ## Related Issue Fixes #2036 ## Changes Made - Added env var NEXT_PRIVATE_OIDC_DISABLE_LOGIN_PARAMETER - Added NEXT_PRIVATE_OIDC_DISABLE_LOGIN_PARAMETER in turbo.json - Added a check that disables that prompt=login gets appended when this env var is true ## Testing Performed - Tested that the behavoiur is default when the env var isnt defined - Tested that Authentik issues are fixed when the flag is turned on - Tested locally with Chrome ## Checklist - [x] I have tested these changes locally and they work as expected. - [x] I have followed the project's coding style guidelines. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:32:02 +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#2007
No description provided.