shinymanager
shinymanager copied to clipboard
Use shinyjs in the authorisation page of a shinymanager app
Hi there,
Thank you for your work on shinymanager! I have the following problem when using javascript in shiny apps in combination with a secure_app from shinymanager.
When using javascript in Shiny apps, the shinyjs is the default (at least for me). It has been a struggle to figure out where to place the shinyjs::useShinyjs()
call in order to use javascript at the authorisation page., Eventually I've figured out that I had to pass this call via the head_auth
argument.
I've reported this issue earlier at shinyjs, but its developer (@daattali) and I came to the conclusion that it would be handled best by improving the documentation of the shinymanager package. See closed issue and pull request: https://github.com/daattali/shinyjs/issues/258 and https://github.com/daattali/shinyjs/pull/259.
Hopefully, you can look into this.
Kind regards,
Pepijn
If only the shinymanager documentation is improved a bit.. it is a terrific idea to wrap another shiny app for security purposes.