Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client Credentials: wrong documentation and unnecessary code Authorization scopes #95

Open
Ximzend opened this issue Dec 2, 2023 · 1 comment

Comments

@Ximzend
Copy link

Ximzend commented Dec 2, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants