title: How to use Express to structure the "Client Credentials Flow" for authorization to use the Spotify API?
body: <p>I'm trying to write a utility with Node.js and Express that would use the Spotify API. However, I'm stuck trying to figure out the best way to use the &quot;Client Credentials Flow&quot; with Express to get an access token to use the API...</p>
  <p><a href="https://developer.spotify.com/documentation/general/guides/authorization-guide/#client-credentials-flow" rel="nofollow noreferrer">https://developer.spotify.com/documentation/general/guides/authorization-guide/#client-credentials-flow</a></p>
  <p>I did some research and Spotify gives this example (in the link below) but it seems rather outdated with the &quot;request&quot; library being used?</p>
  <p><a href="https://github.com/spotify/web-api-auth-examples/blob/master/client_credentials/app.js" rel="nofollow noreferrer">https://github.com/spotify/web-api-auth-examples/blob/master/client_credentials/app.js</a></p>
  <p>I've been seeing things like Axios and stuff, but I'm kind of new to all of this and don't know how or where to even look...</p>