Hi, I have been using successfully the Spotify Authentification Code Flow.
I think that using the Bubble API Connector with OAuth2 User-Agent Flow Authentification may handle the refresh token by itself, am I wrong ?
Otherwise, you can create your own Bubble Workflow reproducing the Spotify authentification flow. Every time you launch your app or use the Spotify API you can check if your actual token is expired or not, if yes, regenerate a new token with the refresh token.
You should follow this use case here : Google Calendar API use case
It’s not Spotify but the process is exactly the same.
Let me know if you struggle, I did it few days ago using this guide.