mirror of
https://github.com/davidallendj/opaal.git
synced 2025-12-20 03:27:02 -07:00
Fixed token fetch from IDP
This commit is contained in:
parent
a7e0e73e45
commit
e0a8d43421
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue