* 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
@@ -166,7 +166,7 @@ func (m *UniversalCacheManager) Close() error {
m.tokenCache, m.blacklistCache, m.metadataCache, m.jwkCache, m.sessionCache, m.introspectionCache, m.tokenTypeCache,
} {
if cache != nil {
cache.Close()
_ = cache.Close() // Safe to ignore: best effort cache cleanup
}
}
@@ -178,7 +178,7 @@ func (m *UniversalCacheManager) Close() error {
// This should only be called in test code to ensure proper cleanup between tests
func ResetUniversalCacheManagerForTesting() {
if universalCacheManager != nil {
universalCacheManager.Close()
_ = universalCacheManager.Close() // Safe to ignore: test cleanup best effort
}
universalCacheManagerOnce = sync.Once{}
universalCacheManager = nil