Skip to content

Commit

Permalink
Fixed token fetch from IDP
Browse files Browse the repository at this point in the history
  • Loading branch information
davidallendj committed Jun 12, 2024
1 parent 8570064 commit 5541744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/oauth/authenticate.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,5 @@ func (client *Client) FetchTokenFromAuthenticationServer(code string, state stri
fmt.Printf("%s\n", string(b))
defer res.Body.Close()

return io.ReadAll(res.Body)
return b, nil
}

0 comments on commit 5541744

Please sign in to comment.