[PR #1645] [CLOSED] feat(oidc): disable login and redirect directly to OIDC (#1643) #1766

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1645
Author: @MohdSaquib114
Created: 2/9/2025
Status: Closed

Base: archive/nextjsHead: feature/disable-login-redirect-oidc-1643


📝 Commits (3)

  • 6d91241 feat(oidc): disable login and redirect directly to OIDC (#1643)
  • 19fe913 fix(auth): session not found issue
  • 32d5aae Merge branch 'main' into feature/disable-login-redirect-oidc-1643

📊 Changes

3 files changed (+21 additions, -2 deletions)

View changed files

📝 apps/web/src/app/(unauthenticated)/signin/page.tsx (+1 -0)
📝 apps/web/src/app/layout.tsx (+2 -1)
📝 apps/web/src/components/forms/signin.tsx (+18 -1)

📄 Description


name: FEATURE REQUEST: disable Login Option and directly direct to OIDC #1643
about: Made changes for passing the login process for OIDC login

Description

  • Implemented the logic for bypass the login screen and directly redirect users to OIDC when it is set as the default authentication method.
  • If the OIDC is enabled and it is default for login than no login page render instead it directly take the user to OIDC workflow.

Changes Made

  • Add a prop name isOIDCDefault which will define if OIDC is default or not.
  • Add useEffect which will take user to OIDC page if no session will be there or to OIDC login workflow. If isOIDCDefault and OIDC is enabled.

🔄 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/1645 **Author:** [@MohdSaquib114](https://github.com/MohdSaquib114) **Created:** 2/9/2025 **Status:** ❌ Closed **Base:** `archive/nextjs` ← **Head:** `feature/disable-login-redirect-oidc-1643` --- ### 📝 Commits (3) - [`6d91241`](https://github.com/documenso/documenso/commit/6d9124155ac0032bf813fd54452d00312ea6124c) feat(oidc): disable login and redirect directly to OIDC (#1643) - [`19fe913`](https://github.com/documenso/documenso/commit/19fe9130c6834d4addd30f30743b7af083de265a) fix(auth): session not found issue - [`32d5aae`](https://github.com/documenso/documenso/commit/32d5aae7a905398bd730c0c8cf34dfcf90abea17) Merge branch 'main' into feature/disable-login-redirect-oidc-1643 ### 📊 Changes **3 files changed** (+21 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/app/(unauthenticated)/signin/page.tsx` (+1 -0) 📝 `apps/web/src/app/layout.tsx` (+2 -1) 📝 `apps/web/src/components/forms/signin.tsx` (+18 -1) </details> ### 📄 Description --- name: FEATURE REQUEST: disable Login Option and directly direct to OIDC #1643 about: Made changes for passing the login process for OIDC login --- ## Description - Implemented the logic for bypass the login screen and directly redirect users to OIDC when it is set as the default authentication method. - If the OIDC is enabled and it is default for login than no login page render instead it directly take the user to OIDC workflow. ## Changes Made - Add a prop name isOIDCDefault which will define if OIDC is default or not. - Add useEffect which will take user to OIDC page if no session will be there or to OIDC login workflow. If isOIDCDefault and OIDC is enabled. --- <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:59 +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#1766
No description provided.