[PR #1339] [MERGED] Add OIDC auto-redirect config to Core #6941

Closed
opened 2026-04-24 19:55:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/moghtech/komodo/pull/1339
Author: @johnmaguire
Created: 4/8/2026
Status: Merged
Merged: 4/23/2026
Merged by: @mbecker20

Base: 2.2.0Head: oidc-auto-redirect


📝 Commits (2)

  • 50009a6 Add OIDC auto-redirect config to Core
  • cebd87c Skip OIDC auto-redirect for Add Account link

📊 Changes

7 files changed (+28 additions, -7 deletions)

View changed files

📝 Cargo.lock (+4 -4)
📝 Cargo.toml (+2 -2)
📝 bin/core/src/auth/mod.rs (+1 -0)
📝 bin/core/src/config.rs (+3 -0)
📝 client/core/rs/src/entities/config/core.rs (+10 -0)
📝 config/core.config.toml (+7 -0)
📝 ui/src/app/topbar/user-dropdown.tsx (+1 -1)

📄 Description

When KOMODO_OIDC_AUTO_REDIRECT=true, the login options response includes oidc_auto_redirect, enabling the UI (via mogh-lib) to automatically redirect unauthenticated users to the OIDC provider. Users can bypass by appending ?disableAutoLogin to the login URL.

Depends on moghtech/lib UI change adding auto-redirect to LoginPage: https://github.com/moghtech/lib/pull/3

Closes #311


🔄 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/moghtech/komodo/pull/1339 **Author:** [@johnmaguire](https://github.com/johnmaguire) **Created:** 4/8/2026 **Status:** ✅ Merged **Merged:** 4/23/2026 **Merged by:** [@mbecker20](https://github.com/mbecker20) **Base:** `2.2.0` ← **Head:** `oidc-auto-redirect` --- ### 📝 Commits (2) - [`50009a6`](https://github.com/moghtech/komodo/commit/50009a685be7b6958b4c29e4397feebd3bddfabc) Add OIDC auto-redirect config to Core - [`cebd87c`](https://github.com/moghtech/komodo/commit/cebd87c58931a8151acce94e9fbc1e092c3ecc23) Skip OIDC auto-redirect for Add Account link ### 📊 Changes **7 files changed** (+28 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+4 -4) 📝 `Cargo.toml` (+2 -2) 📝 `bin/core/src/auth/mod.rs` (+1 -0) 📝 `bin/core/src/config.rs` (+3 -0) 📝 `client/core/rs/src/entities/config/core.rs` (+10 -0) 📝 `config/core.config.toml` (+7 -0) 📝 `ui/src/app/topbar/user-dropdown.tsx` (+1 -1) </details> ### 📄 Description When KOMODO_OIDC_AUTO_REDIRECT=true, the login options response includes oidc_auto_redirect, enabling the UI (via mogh-lib) to automatically redirect unauthenticated users to the OIDC provider. Users can bypass by appending ?disableAutoLogin to the login URL. Depends on moghtech/lib UI change adding auto-redirect to LoginPage: https://github.com/moghtech/lib/pull/3 Closes #311 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-24 19:55:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#6941