Connecting Spotify API OAuth2.0

Been following both the Retool instructions and Spotify docs for setting up auth. I'm able to complete auth, but I know I'm not passing the token correctly and haven't been getting success with a few different configurations.

Has anyone had success with the Spotify API?


Hey @ethanrader!

At the top of your resource configuration can you try replacing the reponse_type header with Authorization and set it to Bearer OAUTH2_TOKEN? You'll want to put in the literal string OAUTH2_TOKEN since it's a magic string that Retool will replace with your actual token at the time of the request so they should look something like this.

Retool typically handlers setting response_type for you as part of its built-in OAuth 2.0 setup.

Let me know if that works!