datastorm-open / shinymanager

Simple and secure authentification mechanism for single shiny applications.
https://datastorm-open.github.io/shinymanager/
379 stars 79 forks source link

shiny app logout in rstudio-connect #152

Open sm2607 opened 1 year ago

sm2607 commented 1 year ago

Hi, I am using secure_app to login in shiny App. I have added a table and download button in modalDialog, as I click on download button, user is getting log out. But this issue is only when I deploy app in Rstudio-connect. It works fine locally. I tried with keep_token=T, still same issue.

  res_auth <- secure_server(
    check_credentials = my_custom_check_creds(
    ),
    fileEncoding = "",
    session = shiny::getDefaultReactiveDomain(),
    keep_token = TRUE
  )