We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1780f73 commit 45298a7Copy full SHA for 45298a7
internal/command/client.go
@@ -17,7 +17,6 @@ limitations under the License.
17
package command
18
19
import (
20
- "encoding/json"
21
"fmt"
22
23
"github.com/Azure/azure-sdk-for-go/sdk/azcore"
@@ -174,12 +173,6 @@ func (g *gcp) GetAccessToken(ctx context.Context) (string, error) {
174
173
175
log.Info("fetched token using GCP ApplicationDefaultCredential")
176
177
- payload, _ := idtoken.ParsePayload(token.AccessToken)
178
-
179
- prettyPayload, _ := json.MarshalIndent(payload.Claims, "", " ")
180
181
- log.Info(fmt.Sprintf("Google OIDC ID token payload: %s", prettyPayload))
182
183
return token.AccessToken, nil
184
}
185
0 commit comments