Remove unused scopes

This commit is contained in:
Gabriel Augendre 2016-04-17 12:00:21 +02:00
parent 44aaab179b
commit 05c155d1f7

2
app.js
View file

@ -44,7 +44,7 @@ app.get('/login', function (req, res) {
res.cookie(stateKey, state);
// your application requests authorization
var scope = 'user-read-private user-read-email playlist-modify-private playlist-read-private playlist-read-collaborative';
var scope = 'playlist-read-private playlist-read-collaborative';
res.redirect('https://accounts.spotify.com/authorize?' +
querystring.stringify({
response_type: 'code',