Commit ceae0d17 authored by Simon Schürg's avatar Simon Schürg 🚀
Browse files

disable some verbose logging

parent bcc515a0
......@@ -2,7 +2,6 @@ package internal
import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net/http"
......@@ -259,7 +258,7 @@ func fetchOidcMetadata(issuerURL string) OpenIDProviderMetadata {
var openIDProviderMetadata OpenIDProviderMetadata
err = json.Unmarshal(body, &openIDProviderMetadata)
FatalOnError(err)
fmt.Println(openIDProviderMetadata)
// fmt.Println(openIDProviderMetadata)
return openIDProviderMetadata
}
......@@ -276,7 +275,7 @@ func fetchJWKSet(issuer string) *JWKSet {
var jwkSet JWKSet
err = json.Unmarshal(body, &jwkSet)
FatalOnError(err)
fmt.Println(jwkSet)
// fmt.Println(jwkSet)
for _, jwk := range jwkSet.Keys {
jwk.CreatedAt = time.Now()
jwk.Issuer = issuer
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment