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

Open
opened 2026-04-13 15:21:00 -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: 🔄 Open

Base: 2.2.0Head: oidc-auto-redirect


📝 Commits (10+)

  • ff30626 fix login page import
  • 2c6b044 update to mantine v9, reduce the border radius on some things
  • 2bdf354 deploy 2.2.0-dev-1
  • 556505c move theme to mogh ui
  • 143645f start moving stuff to mogh_ui
  • 7f3098f move more components to mogh_ui
  • c3ecd64 move section to mogh_ui
  • 5b5f694 move confirm button
  • 04c8d08 move colors and formatting to mogh_ui
  • 94c0406 move more to mogh_ui

📊 Changes

326 files changed (+1310 additions, -8229 deletions)

View changed files

📝 Cargo.lock (+13 -13)
📝 Cargo.toml (+1 -1)
📝 bin/core/aio.Dockerfile (+2 -1)
📝 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)
📝 client/core/ts/package.json (+2 -2)
📝 client/core/ts/yarn.lock (+4 -4)
📝 config/core.config.toml (+7 -0)
📝 lib/command/src/lib.rs (+6 -1)
📝 ui/package.json (+15 -13)
📝 ui/src/app/index.tsx (+1 -1)
📝 ui/src/app/sidebar.tsx (+1 -1)
📝 ui/src/app/topbar/alerts.tsx (+1 -1)
📝 ui/src/app/topbar/index.tsx (+1 -1)
📝 ui/src/app/topbar/keyboard-shortcuts.tsx (+2 -1)
📝 ui/src/app/topbar/omni-search/hooks.tsx (+1 -1)
📝 ui/src/app/topbar/omni-search/index.tsx (+3 -2)
📝 ui/src/app/topbar/updates.tsx (+1 -1)
📝 ui/src/app/topbar/user-dropdown.tsx (+1 -1)

...and 80 more files

📄 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:** 🔄 Open **Base:** `2.2.0` ← **Head:** `oidc-auto-redirect` --- ### 📝 Commits (10+) - [`ff30626`](https://github.com/moghtech/komodo/commit/ff30626e632636e9519c4de70cf3c50ce848756a) fix login page import - [`2c6b044`](https://github.com/moghtech/komodo/commit/2c6b044cfeb6ca95d6b03cc9630d30a3002a3a9e) update to mantine v9, reduce the border radius on some things - [`2bdf354`](https://github.com/moghtech/komodo/commit/2bdf354a335f393b107f29c7ffa60e8284e14ec6) deploy 2.2.0-dev-1 - [`556505c`](https://github.com/moghtech/komodo/commit/556505c86abad02fa551909fbc70452fbe324193) move theme to mogh ui - [`143645f`](https://github.com/moghtech/komodo/commit/143645f6ac3dbdf050e8c4f0bd30d3966de5862f) start moving stuff to mogh_ui - [`7f3098f`](https://github.com/moghtech/komodo/commit/7f3098f9e85801e0c688680d1c9242486fd62aa5) move more components to mogh_ui - [`c3ecd64`](https://github.com/moghtech/komodo/commit/c3ecd64a9ff7b6782b7911d47bc2429e0a406ef3) move section to mogh_ui - [`5b5f694`](https://github.com/moghtech/komodo/commit/5b5f69439526995d3f386a8cb9cd547dab512780) move confirm button - [`04c8d08`](https://github.com/moghtech/komodo/commit/04c8d08c0015e34bc5c5492cab16d6c0b6792236) move colors and formatting to mogh_ui - [`94c0406`](https://github.com/moghtech/komodo/commit/94c04065853f342c11e16c01600a5fcd67ad3d2a) move more to mogh_ui ### 📊 Changes **326 files changed** (+1310 additions, -8229 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+13 -13) 📝 `Cargo.toml` (+1 -1) 📝 `bin/core/aio.Dockerfile` (+2 -1) 📝 `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) 📝 `client/core/ts/package.json` (+2 -2) 📝 `client/core/ts/yarn.lock` (+4 -4) 📝 `config/core.config.toml` (+7 -0) 📝 `lib/command/src/lib.rs` (+6 -1) 📝 `ui/package.json` (+15 -13) 📝 `ui/src/app/index.tsx` (+1 -1) 📝 `ui/src/app/sidebar.tsx` (+1 -1) 📝 `ui/src/app/topbar/alerts.tsx` (+1 -1) 📝 `ui/src/app/topbar/index.tsx` (+1 -1) 📝 `ui/src/app/topbar/keyboard-shortcuts.tsx` (+2 -1) 📝 `ui/src/app/topbar/omni-search/hooks.tsx` (+1 -1) 📝 `ui/src/app/topbar/omni-search/index.tsx` (+3 -2) 📝 `ui/src/app/topbar/updates.tsx` (+1 -1) 📝 `ui/src/app/topbar/user-dropdown.tsx` (+1 -1) _...and 80 more files_ </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-13 15:21:00 -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#4171