mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-07 19:35:38 -05:00
[PR #1339] [MERGED] Add OIDC auto-redirect config to Core #9320
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/1339
Author: @johnmaguire
Created: 4/8/2026
Status: ✅ Merged
Merged: 4/23/2026
Merged by: @mbecker20
Base:
2.2.0← Head:oidc-auto-redirect📝 Commits (2)
50009a6Add OIDC auto-redirect config to Corecebd87cSkip 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.