I have a Shiny application that uses a package googlesheetsthat requires the user to authenticate to write to Google Sheets (even though the Sheet is public and "published on the Internet"). This is done graphically in the browser and works when the Shiny application runs locally. However, when deployed to shinyapps.io, an authentication call causes the application to crash and logs an error:
Warning: Error: oauth_listener () needs an interactive environment.
So what are the options? I think it would be nice to upload my own file .httr-oauthor token to shinyapps.io ... Any workarounds?
source
share