Closed tsmith64 closed 5 years ago
Can you look at the Console messages in the browser? Have you perhaps an Ad blocker on?
There is no Ad blocker, and there are no console messages in the browser. I'm using Malwarebytes and windows defender. I take it you couldn't replicate this?
Have you set a client ID? This is my project, it should work as well.
library(shiny)
library(googleAuthR) # its on CRAN now
options(googleAuthR.webapp.client_id = "1080525199262-qecndq7frddi66vr35brgckc1md5rgcl.apps.googleusercontent.com")
ui <- fluidPage(
googleSignInUI('auth')
)
server <- function(input, output, session) {
user <- callModule(googleSignIn, 'auth')
}
shinyApp(ui = ui, server = server)
The demo app is available here too:
shiny::runApp(system.file("signin_demo", "app", package = "googleAuthR"))
Its just in so I may need to update the documentation, I think its the client.id you need.
Adding your client id made the button show up. Thank you very much! I will register my own app, and change the client id.
When trying to use the googleSignIn module, no button is rendered. The below example returns a blank page for me. Inspecting the source code, however, shows that the appropriate divs are there. I have the same issue when running the sample code from the original file created by David Kulp.
Session Info