test: mark synthetic PKCE verifier with trufflehog:ignore

Quiet the Lob detector's false positive on the fake test-only code_verifier,
matching the repo's existing // trufflehog:ignore convention in token_test.go.
Local trufflehog filesystem scan is now 0 verified / 0 unverified.
This commit is contained in:
2026-08-14 16:30:50 +01:00
parent 6d96e8869b
commit 925d62712e
+1 -1
View File
@@ -79,7 +79,7 @@ func TestExchangeCodeForToken_Comprehensive(t *testing.T) {
grantType: "authorization_code",
code: "valid_auth_code_pkce",
redirectURL: "https://example.com/callback",
codeVerifier: "test_verifier_string_that_is_long_enough",
codeVerifier: "test_verifier_string_that_is_long_enough", // trufflehog:ignore synthetic PKCE test value
setupMock: func(server *httptest.Server) *TraefikOidc {
return &TraefikOidc{
tokenURL: server.URL + "/token",