add_auth_to_spec()
function to allow you to use the Plumber swagger docs with the new
auth_filter()
function.max_sessions
argument added to deploy_app()
which enables the new Polished Hosting load balancer.gh_pat
argument added to deploy_app()
which can be set to deploy/use private GitHub
packages on Polished Hosting.auth_filter()
which makes it very simple to add Polished Auth to
Plumber APIs.admin_mode
argument from polished_config()
.role_name
arg to add_user_role()
deploy_app()
now throws a more user friendly error message if the app is too large to deploy to Polished Hosting.custom_admin_ui
argument for secure_ui()
now takes a fully custom shiny app. This allows users to fully customize their Admin Panel. Previously you could only add tabs to the existing default Admin Panel, but with this change, you can fully replace the default Admin Panel with a custom Shiny app.update_user()
API wrapper function has been created.is_two_fa_required
argument of polished_config()
to TRUE
.is_auth_required
argument for polished_config()
.polished
auth configuration from your Shiny app
or other R packages that build upon polished
via the polished::.polished
environment. override_user
added to secure_server()
. When this argument is set
to TRUE
(the default), the session$userData$user()
polished
user will be accessible in
the session$user
. Set this argument to FALSE
if you are using RStudio Connect or another hosting option that uses the session$user
and you need access to the value they set for session$user
. tabItem
s on the Admin Panel.?page=admin_panel
to ?page=admin
get_api_key()
function that will check for the environment variable POLISHED_API_KEY
.polished_config()
function to replace global_sessions_config()
which has been
deprecated.secure_rmd()
, which can be used to render and secure any R Markdown (.Rmd
) document. Rendering is handled by rmarkdown::render
and the then the rendered document is secured with polished
authentication.region
argument of polished::deploy_app()
)app_name
) can now include upper case letters & spaces (Example: app_name = "Example App Name"
)cache
argument to deploy_app()
to set whether or not to use a cached build of your Shiny
app on Polished Hosting.golem_package_name
argument to deploy_app()
to allow for deploying Golem Shiny apps
to Polished Hosting.secure_ui()
and
secure_server()
functions. These were experimental arguments for extending polished
. We now have a better generalized solution for extending polished
-- more to come soon.api_list_to_df()
functioncookie_expires
argument to global_sessions_config()
, allowing you to set the cookie expiration for app usersvignette("api_wrappers", package = "polished")
).api_url
argument from global_sessions_config()
. This argument is only used
internally during development, so there is no reason to expose it to package users.button_color
argument to sign_in_ui_default()
.tlmgr
argument to deploy_app()
which allows support for generating pdf documents from
Rmarkdown.deploy_app()
function for deploying apps to Polished Hosting.shinydashboardPlus
due to breaking change with dashboardHeaderPlus()
and dashboardPagePlus()
.sign_out_from_shiny()
can now be used in the session$onSessionEnded()
or onStop()
to sign the user
out when the user's session ends.{ sameSite: "none", secure: true }
when the app is being served over https. This allows polished
authentication to work in an iframe on most browsers.secure_ui()
.redirect_page
argument to sign_out_from_shiny()
is_auth_required
argument added to global_sessions_config()
which (when set to FALSE
) allows users to access your app without being signed in. By default this argument is set to TRUE
. #109showDuration
. #107is_email_verification_required
argument to global_sessions_config()
that allows you to disable email verification.background_image
argument to sign_in_ui_default()
to allow for a full screen image for the sign in page background. "email"
sign in provider by default rather than c("google", "email")
.secure_static()
#93sign_in_js()
and sign_in_check_jwt()
, and new vignette on how to use these functions to create fully customized sign in and registration pages.sign_in_module_2
as an alternative premade sign in page. sign_in_module_2
is designed to look nice when using social sign in providers (like Google and Microsoft) in addition to email/password.sign_in_no_invite_module
. sign_in_module
and sign_in_module_2
now have an is_invite_requirement
argument, so there is no longer a need for a dedicated sign_in_no_invite_module
.NEWS.md
file to track changes to the package.polished
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.