Skip to content

Commit c860e63

Browse files
sungwykevinjqliu
andauthored
thanks Kevin!
Co-authored-by: Kevin Liu <kevinjqliu@users.noreply.github.com>
1 parent 977842b commit c860e63

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyiceberg/catalog/rest/auth.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ def _client_secret_header(self) -> str:
167167
return f"Basic {b64_creds}"
168168

169169
def _refresh_token(self) -> None:
170-
data = {}
170+
data = {
171+
"grant_type": "client_credentials"
172+
}
171173
if self.scope:
172174
data["scope"] = self.scope
173175

0 commit comments

Comments
 (0)