I am to use rdrop2 package to read data from dropbox in shiny app. The app will be hosted on shinyapps.io. Every time new R session starts it loads the data from dropbox using
rdrop2::read_csv. To prevent the dropbox authentication each time, i kept the .httr-oauth file, output of
rdrop2::drop_auth(), in the same directory. Till now everything is fine.
The question is, if I share my app on github or some other platform, should I share .httr-oauth file in public ? Probably no, because it gives full access of dropbox account to anyone.
While not sharing the .httr-oauth file, user will fail to load data in the app. Can anyone suggest batter solution for persistent data loading in the shiny or correct me if I am missing something here.