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

View File

@ -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();
}