mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[PR #566] [MERGED] Refinement of PKCE #944
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#944
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/566
Author: @IdmFoundInHim
Created: 8/29/2020
Status: ✅ Merged
Merged: 8/30/2020
Merged by: @stephanebruckert
Base:
master← Head:pkce-refinement📝 Commits (5)
8f03ff7Improve SpotifyPKCE.get_authorization_url197cd81Clean up namespace in SpotifyPKCE._get_auth_response_interactive4c246c0Duplicate parse_auth_response_url into SpotifyPKCE4a16190Update SpotifyPKCE security advisory503a9daUpdate changelog for PKCE refinements📊 Changes
2 files changed (+41 additions, -14 deletions)
View changed files
📝
CHANGELOG.md(+9 -1)📝
spotipy/oauth2.py(+32 -13)📄 Description
The only effective change is that PKCE handshake tokens will have been generated if an authorization URL is constructed. This is important because it avoids an unexpected error from Spotify.
Other changes include:
SpotifyPKCE.parse_auth_response_url, simply executes the parallel method fromSpotifyOAuthSpotifyPKCE._get_auth_response_interactivenow calls a static method fromselfrather thanSpotifyOAuthSpotifyImplicitGrantsecurity advisory now reflects the addition ofSpotifyPKCE@stephanebruckert I am prepared to add a warning to the initialization function of
SpotifyImplicitGrant. Do we want to put it in, or just leave the advisory in the docstr?🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.