This function modifies ui and server objects to run using Auth0 authentication.

shinyAppAuth0(ui, server, config_file = NULL, ...)

Arguments

ui

an ordinary UI object to create shiny apps.

server

an ordinary server object to create shiny apps.

config_file

path to YAML configuration file.

...

Other arguments passed on to shiny::shinyApp().

Details

You can also use a diferent configuration file by setting the auth0_config_file option with: options(auth0_config_file = "path/to/file.yaml").

Disable auth0 while developing apps

Sometimes, using auth0 to develop and test apps can be frustrating, because every time the app is started, auth0 requires the user to log-in. To avoid this problem, one can run options(auth0_disable = TRUE) to disable auth0 temporarily.