Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip ssl certificate chain validation for spotipy client #1003

Open
gianlucasquarcia opened this issue Jul 20, 2023 · 0 comments
Open

Skip ssl certificate chain validation for spotipy client #1003

gianlucasquarcia opened this issue Jul 20, 2023 · 0 comments
Labels

Comments

@gianlucasquarcia
Copy link

gianlucasquarcia commented Jul 20, 2023

Hi guys,
I'm using the spotipy client like this

def get_spotipy_client():
        scope = "user-read-playback-state,user-modify-playback-state"
        sp = spotipy.Spotify(
            auth_manager=SpotifyOAuth(
                scope=scope,
                client_id=CLIENT_ID,
                client_secret=CLIENT_SECRET,
                redirect_uri=REDIRECT_URI,
            )
        )

        return sp

and then somewhere

...
results = sp.current_user_playing_track()
...

Unfortunately i'm behind a corporate proxy and i'd like to disable the ssl certificate chain validation in the call but the verify boolean is not exposed. Is there any future plan to add it as optional or something?

Thanks in advance, love your library!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant