This commit is contained in:
Lee 2024-06-28 03:56:34 +01:00
parent e892dade1c
commit 31e81363ac

@ -72,15 +72,7 @@ public class SpotifyService {
.build(); .build();
this.authorizationUrl = spotifyApi.authorizationCodeUri() this.authorizationUrl = spotifyApi.authorizationCodeUri()
.response_type("code") .response_type("code")
.scope( .scope(AuthorizationScope.values())
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
)
.build().execute().toString(); .build().execute().toString();
} }