mirror of
https://github.com/moghtech/komodo.git
synced 2026-07-13 22:52:05 -05:00
UI issue with oidc re-init #1510
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?
Originally created by @GuFFy12 on GitHub (Dec 4, 2025).
When my Linux system restarts, both Komodo and Authentik containers start simultaneously. If Komodo starts first, it tries to initialize the OIDC client, but the Authentik container hasn’t started yet.
Here’s the code from spawn_oidc_client_management:
34a9f8eb9e/bin/core/src/auth/oidc/client.rs (L54)Komodo tries to initialize the OIDC client and retries if it fails. When I check my logs, I see the error message but no warning, which makes me assume that the OIDC client has been initialized. However, in the UI, I continue to see the following message:
It seems that even though Authentik is correctly initialized and the OIDC client is working fine, the UI still shows that the login provider has not been configured. If I manually go into Chrome DevTools and trigger the “Login with OAuth” function, the authentication process proceeds successfully.
98d72fc908/frontend/src/pages/login.tsx (L28)This indicates that the OIDC client is functioning properly, but the UI is not reflecting the updated state.
PS It would also be great if you could add an OAuth option to automatically redirect users to the authorization flow as soon as they open the web panel, without requiring them to click the OIDC login button.
@GuFFy12 commented on GitHub (Dec 4, 2025):