Fixed token fetch from IDP

This commit is contained in:
David Allen 2024-06-12 14:42:47 -06:00
parent a7e0e73e45
commit e0a8d43421
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC

View file

@ -118,5 +118,5 @@ func (client *Client) FetchTokenFromAuthenticationServer(code string, state stri
fmt.Printf("%s\n", string(b)) fmt.Printf("%s\n", string(b))
defer res.Body.Close() defer res.Body.Close()
return io.ReadAll(res.Body) return b, nil
} }