Skip to content

Conversation

@sigma67
Copy link

@sigma67 sigma67 commented Dec 22, 2025

This call is the only one that overrides the _session.verify which can be passed in via the arguments of SpotifyClientCredentials.

This makes it impossible to actually disable cert verification or set a custom certificate chain (i.e. in a corporate network).

Hence this line should be removed and use the default settings instead, which are provided by the caller.

@dieser-niko
Copy link
Member

Sounds good. Also would you mind setting up your CI/CD? I just want to make sure that your checks can succeed.

Just make sure to add the following variable secrets to your GitHub project settings:

  • SPOTIPY_CLIENT_ID
  • SPOTIPY_CLIENT_SECRET

Plus add an entry to the CHANGELOG.md file

@stephanebruckert anything against it?

@sigma67
Copy link
Author

sigma67 commented Dec 23, 2025

Thanks for the hint. I did set it up, but somehow it still doesn't seem to work. Can you spot my mistake?

image

@dieser-niko
Copy link
Member

Sadly no, the error just says spotipy.exceptions.SpotifyOauthError: error: invalid_client, error_description: None

If you want, you can HMU on Discord, maybe I'll be able to help you: https://discord.gg/HP6xcPsTPJ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants