mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 08:05:55 +03:00
[PR #1203] Fix indefinite hang on invalid PKCE client_id #1210
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#1210
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/spotipy-dev/spotipy/pull/1203
Author: @AtomikkuLabs
Created: 5/26/2025
Status: 🔄 Open
Base:
master← Head:master📝 Commits (1)
7e40a8eFix indefinite hang on invalid PKCE client_id📊 Changes
1 file changed (+21 additions, -0 deletions)
View changed files
📝
spotipy/oauth2.py(+21 -0)📄 Description
Fixes indefinite hang when an invalid client_id is put into SpotifyPKCE and get_access_token is called. A preflight has been made to test out the client_id beforehand. Not sure if this is the most valid approach but it seems to work and gives a clear error.
PKCE issue was noted by me here
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.