From 105339aa401f589af7609085af1b5afc3162c31f Mon Sep 17 00:00:00 2001 From: jay brown Date: Wed, 23 Jul 2025 09:54:20 -0700 Subject: [PATCH] http.secure=true --- internal/cognitoauth/auth.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/cognitoauth/auth.go b/internal/cognitoauth/auth.go index 84e540a1..92d52cc5 100644 --- a/internal/cognitoauth/auth.go +++ b/internal/cognitoauth/auth.go @@ -285,7 +285,7 @@ func getRefreshTokenFromCookie(c echo.Context, config auth.ConfigProvider) strin // Returns: // - bool: True if cookies should be marked as Secure func isSecureContext(config auth.ConfigProvider) bool { - // For now, return false to match existing comment in original code - // In production, this should return true based on environment detection - return false + // This is a shim left here in case we need to add some computation + // before returning a result (for testing mostly) + return true }