When running the demo code for the shiny app authentication (exact copy of example code except client id), I am able to succesfully generate an oauth log in. However, after logging in, the data (name, email, etc) don't update.
Steps to reproduce the problem
Please note that if a reproduceable example that I can run is not available, then the likelihood of getting any bug fixed is low.
After sign in, the name, email, and picture are updated
Actual output
No output
Before you run your code, please run:
options(googleAuthR.verbose=2) and copy-paste the console output here.
Check it doesn't include any sensitive info like auth tokens or accountIds - you can usually just edit those out manually and replace with say XXX
2024-07-05T17:18:47.130696+00:00 shinyapps[12279404]: Running on host: 9d1fe456eeb0
2024-07-05T17:18:47.134384+00:00 shinyapps[12279404]: Running as user: uid=10001(shiny) gid=10001(shiny) groups=10001(shiny)
2024-07-05T17:18:47.138081+00:00 shinyapps[12279404]: Connect version: 2024.05.0
2024-07-05T17:18:47.141690+00:00 shinyapps[12279404]: LANG: C.UTF-8
2024-07-05T17:18:47.145841+00:00 shinyapps[12279404]: Working directory: /srv/connect/apps/authentication_demo
2024-07-05T17:18:47.149955+00:00 shinyapps[12279404]: Using R 4.4.0
2024-07-05T17:18:47.153861+00:00 shinyapps[12279404]: R.home(): /opt/R/4.4.0/lib/R
2024-07-05T17:18:47.157671+00:00 shinyapps[12279404]: Content will use current R environment
2024-07-05T17:18:47.161725+00:00 shinyapps[12279404]: R_LIBS: (unset)
2024-07-05T17:18:47.165915+00:00 shinyapps[12279404]: .libPaths(): /usr/lib/R, /opt/R/4.4.0/lib/R/library
2024-07-05T17:18:47.169916+00:00 shinyapps[12279404]: shiny version: 1.8.1.1
2024-07-05T17:18:47.173655+00:00 shinyapps[12279404]: httpuv version: 1.6.15
2024-07-05T17:18:47.177527+00:00 shinyapps[12279404]: rmarkdown version: (none)
2024-07-05T17:18:47.181267+00:00 shinyapps[12279404]: knitr version: (none)
2024-07-05T17:18:47.185037+00:00 shinyapps[12279404]: jsonlite version: 1.8.8
2024-07-05T17:18:47.188979+00:00 shinyapps[12279404]: RJSONIO version: (none)
2024-07-05T17:18:47.192681+00:00 shinyapps[12279404]: htmltools version: 0.5.8.1
2024-07-05T17:18:47.196415+00:00 shinyapps[12279404]: reticulate version: (none)
2024-07-05T17:18:47.200214+00:00 shinyapps[12279404]: Using pandoc: /opt/connect/ext/pandoc/2.16
2024-07-05T17:18:48.038142+00:00 shinyapps[12279404]:
2024-07-05T17:18:48.042850+00:00 shinyapps[12279404]: Starting R with process ID: '49'
2024-07-05T17:18:48.046850+00:00 shinyapps[12279404]: Shiny application starting ...
2024-07-05T17:18:48.050662+00:00 shinyapps[12279404]:
2024-07-05T17:18:48.054485+00:00 shinyapps[12279404]: Listening on http://127.0.0.1:33007
Session Info
Please run sessionInfo() so we can check what versions of packages you have installed
What goes wrong
When running the demo code for the shiny app authentication (exact copy of example code except client id), I am able to succesfully generate an oauth log in. However, after logging in, the data (name, email, etc) don't update.
Steps to reproduce the problem
Please note that if a reproduceable example that I can run is not available, then the likelihood of getting any bug fixed is low.
Run demo app deployed here: https://centerforopenscience.shinyapps.io/authentication_demo/
Expected output
After sign in, the name, email, and picture are updated
Actual output
No output
Before you run your code, please run:
options(googleAuthR.verbose=2)
and copy-paste the console output here.Check it doesn't include any sensitive info like auth tokens or accountIds - you can usually just edit those out manually and replace with say
XXX
Session Info
Please run
sessionInfo()
so we can check what versions of packages you have installedExact code as deployed: