From e3c98faf363fefd4f677197b01730afd6816cb80 Mon Sep 17 00:00:00 2001 From: Pushpinder Singh <53684951+pushpinderbal@users.noreply.github.com> Date: Thu, 8 Jan 2026 03:28:54 -0500 Subject: [PATCH] fix: username provider appearing when no auth is configured (#568) * feat: allow any HTTP method for /api/auth/envoy and restrict methods for non-envoy proxies * feat: add Allow header for invalid methods in proxyHandler * feat: add session max lifetime and fix refresh logic * fix: set default value for created_at column and improve session expiration logic * fix: correct ldapService reference in authService initialization --------- Co-authored-by: Stavros --- internal/bootstrap/service_bootstrap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/bootstrap/service_bootstrap.go b/internal/bootstrap/service_bootstrap.go index 6f6a088..860b3ef 100644 --- a/internal/bootstrap/service_bootstrap.go +++ b/internal/bootstrap/service_bootstrap.go @@ -67,7 +67,7 @@ func (app *BootstrapApp) initServices(queries *repository.Queries) (Services, er LoginTimeout: app.config.Auth.LoginTimeout, LoginMaxRetries: app.config.Auth.LoginMaxRetries, SessionCookieName: app.context.sessionCookieName, - }, dockerService, ldapService, queries) + }, dockerService, services.ldapService, queries) err = authService.Init()