diff --git a/src/main/java/cc/fascinated/bat/service/SpotifyService.java b/src/main/java/cc/fascinated/bat/service/SpotifyService.java index 661e191..de8fea3 100644 --- a/src/main/java/cc/fascinated/bat/service/SpotifyService.java +++ b/src/main/java/cc/fascinated/bat/service/SpotifyService.java @@ -72,15 +72,7 @@ public class SpotifyService { .build(); this.authorizationUrl = spotifyApi.authorizationCodeUri() .response_type("code") - .scope( - AuthorizationScope.APP_REMOTE_CONTROL, - AuthorizationScope.USER_READ_PLAYBACK_POSITION, - AuthorizationScope.USER_READ_PLAYBACK_STATE, - AuthorizationScope.USER_MODIFY_PLAYBACK_STATE, - AuthorizationScope.USER_READ_CURRENTLY_PLAYING, - AuthorizationScope.APP_REMOTE_CONTROL, - AuthorizationScope.STREAMING - ) + .scope(AuthorizationScope.values()) .build().execute().toString(); }