You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on implementing the save and delete methods in playlists.py - adding and removing tracks from Spotify playlists is a feature I've always wished in mopidy-spotify.
The logic itself seems to work and the method is correctly called by the client, however I get a 403: Insufficient client scope when I do my POST call to user/<id>/playlists/<id>/tracks.
I haven't found any reference to web client scopes in the code. From what I understand the auth/refresh tokens are provided by calling https://auth.mopidy.com/spotify/token. This is what I get when I try to query my token:
So playlist-read-private playlist-read-collaborative user-library-read user-follow-read are clearly not sufficient for modifying playlists - that would require playlist-modify-public and playlist-modify-private.
Can the list of scopes be updated on mopidy's side to include those playlists handling scopes, or can it be possible to override the default list of scopes by passing a new list to the endpoint?
The text was updated successfully, but these errors were encountered:
I'm working on implementing the
save
anddelete
methods inplaylists.py
- adding and removing tracks from Spotify playlists is a feature I've always wished in mopidy-spotify.The logic itself seems to work and the method is correctly called by the client, however I get a
403: Insufficient client scope
when I do my POST call touser/<id>/playlists/<id>/tracks
.I haven't found any reference to web client scopes in the code. From what I understand the auth/refresh tokens are provided by calling https://auth.mopidy.com/spotify/token. This is what I get when I try to query my token:
So
playlist-read-private playlist-read-collaborative user-library-read user-follow-read
are clearly not sufficient for modifying playlists - that would requireplaylist-modify-public
andplaylist-modify-private
.Can the list of scopes be updated on mopidy's side to include those playlists handling scopes, or can it be possible to override the default list of scopes by passing a new list to the endpoint?
The text was updated successfully, but these errors were encountered: