Skip to content

Commit

Permalink
Encode the refresh token
Browse files Browse the repository at this point in the history
  • Loading branch information
EvieePy committed Feb 10, 2024
1 parent b22a91c commit 4913e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twitchio/authentication/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async def refresh_token(self, refresh_token: str, /) -> RefreshTokenPayload:

params: dict[str, str] = {
"grant_type": "refresh_token",
"refresh_token": refresh_token,
"refresh_token": urllib.parse.quote(refresh_token, safe=""),
"client_id": self.client_id,
"client_secret": self.client_secret,
}
Expand Down

0 comments on commit 4913e2e

Please sign in to comment.