mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #152] Problem with 'scope' in authentication #70
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#70
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?
Originally created by @Roobxyz on GitHub (Jan 12, 2017).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/152
Hi,
I was trying to do some basic OAuth stuff and came across what seems to be an error regarding the cached OAuth application.
The cached json fails with the following final error:
my json has
"scope": nullI tried removing the control from lines 137/138 of
/usr/local/bin/anaconda/lib/python2.7/site-packages/spotipy/oauth2.pywhich allowed the cached json to work. Just wanted to highlight this.
Thanks
@tcarette commented on GitHub (Mar 3, 2017):
I have the same problem. Why is it closed?
@Roobxyz commented on GitHub (Mar 26, 2017):
Think I was using incorrectly,
Maybe there should be a default scope set - but specifying it fixes the call.
Cheers,
Reuben
@idofr commented on GitHub (Jul 7, 2019):
Over two years later and I'm having the same problem.
Solved it by adding the following line to oauth2.py -> _is_scope_subset(....)
if needle_scope is None and haystack_scope is None: return TrueNot sure why the issue was close. I also have the feeling though that I'm using the scopes wrong. Could someone please provide a quick explanation?
Cheers,