The README and this post show const sdk = SpotifyApi.withClientCredentials("client-id", "secret", ["scope1", "scope2"]);
This is wrong, because Client Credentials do not- and can not use Authorization scopes.
At least ClientCredentialsStrategy.ts contains unnecessary, unused code. The value of scopes is not used in the finale request.
The README and this post show
const sdk = SpotifyApi.withClientCredentials("client-id", "secret", ["scope1", "scope2"]);
This is wrong, because Client Credentials do not- and can not use Authorization scopes.
At least ClientCredentialsStrategy.ts contains unnecessary, unused code. The value of scopes is not used in the finale request.