From b04db6ad2b6d1149a98bfada79e119c3c1ba98b8 Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Wed, 9 Dec 2020 10:42:37 -0600 Subject: [PATCH] Fix some false positive gosec warnings. Signed-off-by: Matt Moyer --- internal/oidc/token_exchange.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/oidc/token_exchange.go b/internal/oidc/token_exchange.go index a344ed77..bc97bfe1 100644 --- a/internal/oidc/token_exchange.go +++ b/internal/oidc/token_exchange.go @@ -15,8 +15,8 @@ import ( ) const ( - tokenTypeAccessToken = "urn:ietf:params:oauth:token-type:access_token" - tokenTypeJWT = "urn:ietf:params:oauth:token-type:jwt" + tokenTypeAccessToken = "urn:ietf:params:oauth:token-type:access_token" //nolint: gosec + tokenTypeJWT = "urn:ietf:params:oauth:token-type:jwt" //nolint: gosec ) type stsParams struct {