How to fix "Can't get google credentials" for docker deployed shiny app running bigquery commands

I deployed a shiny app on GCP compute engine instance using docker image that runs commands from bigrquery package

I'm getting "Can't get google credentials" error even if I'm using the code below

options(
    gargle_oauth_cache = here::here(".secrets"),
    gargle_oauth_email = "email@provider.com"
)

knowing that this code works fine when deployed to shinyapps.io

Any help please?

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