Authentication scopes for web are hardcoded
Closed this issue · 0 comments
fotiDim commented
Currently for the web implementation the scopes are hardcoded within spotify_sdk_web.dart
:
/// spotify auth scopes
static const List<String> authenticationScopes = [
'streaming',
'user-read-email',
'user-read-private',
'app-remote-control',
'user-modify-playback-state',
'playlist-read-private',
'playlist-modify-public',
'user-read-currently-playing'
];
We should be taking them from SpotifySdk.getAuthenticationToken
or connectToSpotifyRemote
.