Skip to content

Commit

Permalink
Merge pull request #35 from wguanicedew/dev
Browse files Browse the repository at this point in the history
fix refresh token
  • Loading branch information
tmaeno authored Oct 5, 2024
2 parents 40d34d9 + 5bcbdac commit a8031a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandaclient/openidc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def refresh_token(self, token_endpoint, client_id, client_secret, refresh_token_
req.add_header("content-type", "application/x-www-form-urlencoded")
try:
conn = urlopen(req)
text = conn.read()
text = conn.read().decode()
if self.verbose:
self.log_stream.debug(text)
id_token = json.loads(text)["id_token"]
Expand Down

0 comments on commit a8031a7

Please sign in to comment.