mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #1385] [MERGED] Get token with client #1370
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#1370
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/librespot-org/librespot/pull/1385
Author: @fivebanger
Created: 10/29/2024
Status: ✅ Merged
Merged: 10/30/2024
Merged by: @roderickvd
Base:
dev← Head:get_token_with_client_id📝 Commits (6)
52ce944- get_token_with_client_id() added9b64990- get_token_with_client_id() added29e797f- get_token_with_client_id() added3a6848a- fixed clippy warnings9037584- comment added8e1e6a4fix typo📊 Changes
2 files changed (+12 additions, -0 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
core/src/token.rs(+11 -0)📄 Description
Fixes https://github.com/librespot-org/librespot/issues/1331
This PR fixes the issue for getting a token error when providing a specific combination of scopes and client_id. A new function
get_token_with_client_id()was added to be able to provide a specific client_id when asking for a token.The original
get_token()function was kept in order to be fully backward compatible and not break any get_token() function call (for v0.5.0 and dev).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.