From 50f08e31860dff661905ae01d04db2817742a00c Mon Sep 17 00:00:00 2001 From: sigma67 Date: Mon, 22 Dec 2025 17:05:31 +0100 Subject: [PATCH 1/3] fix: dont override verify attribute when requesting access token --- spotipy/oauth2.py | 1 - 1 file changed, 1 deletion(-) diff --git a/spotipy/oauth2.py b/spotipy/oauth2.py index 60f00b9..c19c9a3 100644 --- a/spotipy/oauth2.py +++ b/spotipy/oauth2.py @@ -227,7 +227,6 @@ class SpotifyClientCredentials(SpotifyAuthBase): self.OAUTH_TOKEN_URL, data=payload, headers=headers, - verify=True, proxies=self.proxies, timeout=self.requests_timeout, ) From 316ed324d24a44b385f63e2b98e53420302ec230 Mon Sep 17 00:00:00 2001 From: sigma67 Date: Tue, 23 Dec 2025 15:10:30 +0100 Subject: [PATCH 2/3] changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2865cdd..c3501b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ Add your changes below. ### Fixed +- Don't override verify attribute when requesting access token in SpotifyClientCredentials + This made it impossible to actually disable cert verification or set a custom certificate chain (i.e. in a corporate network). + ### Removed ## [2.25.2] - 2025-11-26 From 5ecf39cf3b2865c8fa81dece7a5d43603c8f8b8c Mon Sep 17 00:00:00 2001 From: sigma67 Date: Tue, 23 Dec 2025 15:15:47 +0100 Subject: [PATCH 3/3] try again --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3501b8..c5c411d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ Add your changes below. ### Fixed -- Don't override verify attribute when requesting access token in SpotifyClientCredentials +- Don't override verify attribute when requesting access token in SpotifyClientCredentials. This made it impossible to actually disable cert verification or set a custom certificate chain (i.e. in a corporate network). ### Removed