Adds shinyOAuth's client-side JavaScript dependency to your Shiny UI. This is required so the module can handle redirects and manage its browser-side session token.
Without this call in the UI, oauth_module_server() will not work unless
your app UI is wrapped with oauth_form_post_ui(), which injects this
dependency automatically for form_post flows.
Details
Place this near the top-level of your UI (e.g., inside fluidPage() or
tagList()), similar to how you would use shinyjs::useShinyjs(). If you
wrap the app UI with oauth_form_post_ui(), you usually do not need a
separate call here because that wrapper injects this dependency for you.
Examples
ui <- shiny::fluidPage(
use_shinyOAuth(),
# ...
)