Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
  • Loading branch information
stgraber committed Jun 12, 2024
1 parent 277a2bd commit 176380c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/incus_oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ func (o *oidcClient) dial(dialer websocket.Dialer, uri string, req *http.Request
clientID := resp.Header.Get("X-Incus-OIDC-clientid")
audience := resp.Header.Get("X-Incus-OIDC-audience")

fmt.Printf("stgraber: DEBUG: err=%v resp=%+v conn=%+v\n", err, resp, conn)

err = o.refresh(issuer, clientID)
if err != nil {
err = o.authenticate(issuer, clientID, audience)
Expand Down

0 comments on commit 176380c

Please sign in to comment.