I just deployed a shiny app in shinyapps.io.
It worked fine locally but when I deployed it, the gmailr authentication popup did not appear.
I checked the logs in shinyapps.io, and it is working in the background but not in the front end.
For example, when I run the function:
options(httr_oauth_cache=T)
gmailr::clear_token()
gmailr::gmail_auth()
The logs in shinyapps.io shows this which is expected, but no popup:
The expected output should be a popup asking me to choose which gmail account to authenticate.
Anyone have any experience using the gmailr package in shiny?
EDIT:
There is a file called .httr-oauth in my directory, but not rsconnect.
Should I copy this file to my rsconnect folder?
This is the directory to my app in shinyapps.io through rconnect: