[GH-ISSUE #511] No way to create AuthCodePkceSpotify from token with config #166

Closed
opened 2026-02-27 20:23:31 +03:00 by kerem · 2 comments
Owner

Originally created by @gdesmott on GitHub (Dec 28, 2024).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/511

There is currently no way to create AuthCodePkceSpotify with a custom config.

Is there any reason to not have AuthCodePkceSpotify::from_token_with_config() as there is for AuthCodeSpotify?

Originally created by @gdesmott on GitHub (Dec 28, 2024). Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/511 There is currently no way to create `AuthCodePkceSpotify` with a custom config. Is there any reason to not have `AuthCodePkceSpotify::from_token_with_config()` as there is for `AuthCodeSpotify`?
kerem 2026-02-27 20:23:31 +03:00
Author
Owner

@gdesmott commented on GitHub (Dec 29, 2024):

I think we need this to be able to refresh an expired cached token, see https://github.com/ramsayleung/rspotify/pull/512

<!-- gh-comment-id:2564770730 --> @gdesmott commented on GitHub (Dec 29, 2024): I think we need this to be able to refresh an expired cached token, see https://github.com/ramsayleung/rspotify/pull/512
Author
Owner

@ramsayleung commented on GitHub (Dec 29, 2024):

The AuthCodePkceSpotify implementation was contributed by another maintainer, so I don't have full context on the reasoning behind not including a from_token_with_config() method, my intuition is he might just miss the requirement of the function.

<!-- gh-comment-id:2564810970 --> @ramsayleung commented on GitHub (Dec 29, 2024): The `AuthCodePkceSpotify` implementation was contributed by another maintainer, so I don't have full context on the reasoning behind not including a `from_token_with_config()` method, my intuition is he might just miss the requirement of the function.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#166
No description provided.