Skip to contents

Author: Jason Bryer, Ph.D. 
Website: https://jbryer.github.io/login/

This package provides a framework for adding user authentication to Shiny applications. This is unique to other authentication frameworks such as ShinyManager and shinyauthr in that it provides tools for users to create their own accounts and reset passwords. This is particularly useful for Shiny applications used to collect data without a pre-existing user management system. User credentials are stored in any database that supports the DBI interface. Passwords are hashed using MD5 in the browser so that unencrypted passwords are never available to the Shiny server. For an extra layer of security, you can salt the password before storing it in the database.

Resources for learning to use the login pacakge:

You can install the latest development version using the remotes package:

remotes::install_github('login')

Once installed, there are three demos included:

shiny::runApp(paste0(find.package('login'), '/login_demo_simple/'), port = 2112)
shiny::runApp(paste0(find.package('login'), '/login_template/'), port = 2112)
shiny::runApp(paste0(find.package('login'), '/login_modal/'), port = 2112)

Code of Conduct

Please note that the login project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.