Hello,
I am working on a shiny app that uses the Spotify API to get data on a specific user's account. The app works perfectly within RStudio, but I get an error when I deploy to shinyapps.io. I think the error occurs because when I run it in RStudio, I automatically get redirected to Spotify's login page to sign into my account and retrieve my data, but this doesn't happen on the live page and it crashes.
Does anyone have any tips or know how I can add authorization or redirect the app to a login page on launch?