I am building a playlist curation app using the API. Currently, I use the oauth workflow.
However, for my use case, it does not matter who the literal user is. My users can make playlists on my personal account, for all I care. I would use the 'implicit grant' auth flow, but I need to have a list of permissions.
How can I authorize other users to curate playlists in my Spotify account?
Here is a snippet.
un='musicfan'
pw='<>**bleep**('/login')
def login():
state = generate_random_string(16)
scope = "user-follow-read,user-modify-playback-state,playlist-read-private,playlist-modify-private,user-library-read"
return redirect('https://accounts.spotify.com/authorize?' +
urlencode({
'response_type': 'code',
'client_id': client_id,
'scope': scope,
'redirect_uri': redirect_uri,
'state': state
}))