Skip to content

Commit e4f9a31

Browse files
authored
Adjust how client credentials are sent to token service (#483)
1 parent 9c8a0e2 commit e4f9a31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: sentinelhub/download/session.py

+1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ def _fetch_token(self, request: DownloadRequest) -> JsonDict:
146146
client_id=self.config.sh_client_id,
147147
client_secret=self.config.sh_client_secret,
148148
headers={**self.DEFAULT_HEADERS, **SHConstants.HEADERS},
149+
include_client_id=True,
149150
)
150151

151152
@staticmethod

0 commit comments

Comments
 (0)