mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-08 04:14:01 -05:00
[PR #1315] [CLOSED] Add OIDC auto-redirect to login page #4166
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/moghtech/komodo/pull/1315
Author: @johnmaguire
Created: 4/2/2026
Status: ❌ Closed
Base:
main← Head:oidc-auto-redirect📝 Commits (10+)
ff30626fix login page import2c6b044update to mantine v9, reduce the border radius on some things2bdf354deploy 2.2.0-dev-1556505cmove theme to mogh ui143645fstart moving stuff to mogh_ui7f3098fmove more components to mogh_uic3ecd64move section to mogh_ui5b5f694move confirm button04c8d08move colors and formatting to mogh_ui94c0406move more to mogh_ui📊 Changes
325 files changed (+1307 additions, -8228 deletions)
View changed files
📝
Cargo.lock(+13 -13)📝
Cargo.toml(+1 -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(+14 -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)📝
ui/src/app/topbar/websocket-status.tsx(+1 -1)...and 80 more files
📄 Description
When KOMODO_OIDC_AUTO_REDIRECT=true, the login page automatically redirects unauthenticated users to the configured OIDC provider. Users can bypass by appending ?disableAutoLogin to the login URL.
Depends on mogh-lib change adding auto_redirect to OidcConfig and oidc_auto_redirect to GetLoginOptionsResponse: https://github.com/moghtech/lib/pull/1
Closes #311
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.