diff --git a/main.go b/main.go
index 809b03468883103dc2d28bb99acedcff2c69e662..5ef9ec6d3e83b16c1b6ad388e98997a95bd0e093 100644
--- a/main.go
+++ b/main.go
@@ -11,7 +11,6 @@ import (
 	"os"
 	"strconv"
 	"strings"
-	"crypto/tls"
 	log "github.com/sirupsen/logrus"
 )
 
@@ -462,12 +461,11 @@ func main() {
 
 		log.Debug("data sent is : ", data)
 		log.Debug("Send request to token endpoint: ", tokenUrl)
-		http.DefaultTransport.(*http.Transport).TLSClientConfig = &tls.Config{InsecureSkipVerify: true}
 		response, err := http.PostForm(tokenUrl, data)
 		if err != nil {
 			log.Error(err)
 		} else {
-			log.Debug("Endpoint response with status", response.Status, response.error_description)
+			log.Debug("Endpoint response with status", response.Status)
 			defer response.Body.Close()
 			if response.StatusCode >= 200 && response.StatusCode <= 299 {
 				// Set Content-Type in response header