diff --git a/internal/httpservers/restapi_auth_jwt.go b/internal/httpservers/restapi_auth_jwt.go index 3975bc9b..ee54761c 100644 --- a/internal/httpservers/restapi_auth_jwt.go +++ b/internal/httpservers/restapi_auth_jwt.go @@ -146,7 +146,7 @@ func parseJwtHeader(headerValue string) (string, string) { return "", "" } - _, err := verifier.Verify(context.TODO(), headerValue) + _, err := getVerifier().Verify(context.TODO(), headerValue) if err != nil { log.Errorf("JWT Header verification error: %v", err)