Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ui-server

Modifies ui/server objects to authenticate using Auth0.


Description

These functions can be used in a ui.R/server.R framework, modifying the shiny objects to authenticate using Auth0 service with no pain.

Usage

auth0_ui(ui, info)

auth0_server(server, info)

Arguments

ui

shiny.tag.list object to generate the user interface.

info

object returned from auth0_info. If not informed, will try to find the _auth0.yml and create it automatically.

server

the shiny server function.

See Also

Examples

# first, create the yml file using use_auth0() function

# ui.R file
library(shiny)
library(auth0)
auth0_ui(fluidPage(logoutButton()))

# server.R file
library(auth0)
auth0_server(function(input, output, session) {})

# console
options(shiny.port = 8080)
shiny::runApp()

auth0

Secure Authentication in Shiny with Auth0

v0.2.1
MIT + file LICENSE
Authors
Julio Trecenti [cre], Daniel Falbel [aut], José Jesus [ctb], Dean Attali [ctb], C Lente [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.