curso-r/auth0

Suggestion: add `auth0AppDir` function (equivalent to shinyAppDir - where you provide a directory instead of the actual ui and server objects)

Closed this issue · 5 comments

Suggestion: add `auth0AppDir` function (equivalent to shinyAppDir - where you provide a directory instead of the actual ui and server objects)

I tried to solve this and it seems like there's no easy way. I think this is as difficult as making auth0 work seamlessly with ui.R/server.R framework 😞

That's a shame. Do you think it'd be possible to have a auth0AppDir() function that takes a directory and simply goes there, grabs the ui and the server (by sourcing them and saving their return value), and passes that into shinyAuth0App?

This is related to #5. shiny::shinyAppDir() will just work after the next pull request.