Shiny app takes a while to load because of the Auto-refreshing stale OAuth token stage (i think)

Hi - I have a Shiny app which takes about 15 secs to load. It reads data from a gsheet. When checking the logs, it seems this stage takes at least 7 secs (and the rest seems more or less ok):

gs4_auth(cache = ".secrets", email = "xxxxxxxxxxx@gmail.com")

Has anybody encountered this? Is there any way to speed this up a little bit?
I can post the full code if that is of any help.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.