* Add ability to disable replay protection. - This is useful for runs with multiple traefik replicas to avoid false positives and tokens re-creation.
* Enhance the CI/CD pipelines
* Increase test coverage.
* Update vendored dependencies.
* Update behaviour on forceHTTPS as per issue #82
This commit is contained in:
2025-10-16 10:56:28 +01:00
committed by GitHub
parent 79e9b164f9
commit ae59a5e88a
74 changed files with 10748 additions and 234 deletions
+2 -2
View File
@@ -179,8 +179,8 @@ func (m *AuthMiddleware) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
return
}
case <-req.Context().Done():
m.logger.Debug("Request cancelled while waiting for OIDC initialization")
m.sendErrorResponseFunc(rw, req, "Request cancelled", http.StatusRequestTimeout)
m.logger.Debug("Request canceled while waiting for OIDC initialization")
m.sendErrorResponseFunc(rw, req, "Request canceled", http.StatusRequestTimeout)
return
case <-time.After(30 * time.Second):
m.logger.Error("Timeout waiting for OIDC initialization")
+1 -1
View File
@@ -301,7 +301,7 @@ func TestServeHTTP_ComprehensiveCoverage(t *testing.T) {
rw := httptest.NewRecorder()
// This should timeout or be cancelled
// This should timeout or be canceled
m.ServeHTTP(rw, req)
if !errorResponseSent {