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
daattali commented
Suggestion: add `auth0AppDir` function (equivalent to shinyAppDir - where you provide a directory instead of the actual ui and server objects)
jtrecenti commented
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 😞
daattali commented
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?
jtrecenti commented
Yes, it is possible! Tomorrow I'll try this idea. It'll be different of the
original function but at least it will work. I think that the problem of
this approach will be generalizations to apps using www/ and so on
Em dom, 9 de jun de 2019 23:28, Dean Attali <notifications@github.com>
escreveu:
… 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?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#21?email_source=notifications&email_token=AAK4EMSI7CDFYVHG6C22JV3PZW35HA5CNFSM4HVZMNCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXIYVAY#issuecomment-500271747>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAK4EMT44VZE4HW3XZ4QSCLPZW35HANCNFSM4HVZMNCA>
.
daattali commented
Yeah, I guess the dir's www folder should also be added as a resource path.
Of course there's other little things that would need to be tasted, it
looks like you know what to look for :)
…On Sun, Jun 9, 2019, 23:02 Julio Trecenti ***@***.*** wrote:
Yes, it is possible! Tomorrow I'll try this idea. It'll be different of the
original function but at least it will work. I think that the problem of
this approach will be generalizations to apps using www/ and so on
Em dom, 9 de jun de 2019 23:28, Dean Attali ***@***.***>
escreveu:
> 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?
>
> —
> You are receiving this because you were assigned.
> Reply to this email directly, view it on GitHub
> <
#21?email_source=notifications&email_token=AAK4EMSI7CDFYVHG6C22JV3PZW35HA5CNFSM4HVZMNCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXIYVAY#issuecomment-500271747
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/AAK4EMT44VZE4HW3XZ4QSCLPZW35HANCNFSM4HVZMNCA
>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21?email_source=notifications&email_token=AAHIQFFEYOBURZDMLP4QSJTPZW73RA5CNFSM4HVZMNCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXIZ2YI#issuecomment-500276577>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAHIQFD4NANNADGHTEEEYC3PZW73RANCNFSM4HVZMNCA>
.