res.redirect(
`${spotifyRootUrl}/authorize?response_type=code&client_id=${spotifyClientId}&redirect_uri=${encodeURIComponent(redirectUri)}`
);
Step 2 - Create an endpoint for Spotify to redirect the user to and get the authorization code Spotify passed in.
app.get("/auth/spotify/callback", (req, res) => {