Skip to content

Commit

Permalink
Adjust how client credentials are sent to token service (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
zigaLuksic authored Oct 24, 2023
1 parent 9c8a0e2 commit e4f9a31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sentinelhub/download/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def _fetch_token(self, request: DownloadRequest) -> JsonDict:
client_id=self.config.sh_client_id,
client_secret=self.config.sh_client_secret,
headers={**self.DEFAULT_HEADERS, **SHConstants.HEADERS},
include_client_id=True,
)

@staticmethod
Expand Down

0 comments on commit e4f9a31

Please sign in to comment.