Skip to content
Authenticate Shiny Users with Firebase
R JavaScript CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci init Mar 15, 2020
.github init Mar 15, 2020
R correct access token method Apr 4, 2020
docs add CRAN install Mar 30, 2020
inst man pages overhauled Mar 28, 2020
man correct access token method Apr 4, 2020
pkgdown added authors to pkgdown + bump version Mar 29, 2020
vignettes rename create_config to avoid clash Apr 2, 2020
.Rbuildignore remove fireblaze ref Apr 2, 2020
.gitignore remove fireblaze ref Apr 2, 2020
.travis.yml init appveyor and travis Mar 22, 2020
CODE_OF_CONDUCT.md add user guide + upgrade UI Mar 22, 2020
CRAN-RELEASE cran sub Mar 29, 2020
DESCRIPTION add print Apr 1, 2020
LICENSE.md init Mar 15, 2020
NAMESPACE rename create_config to avoid clash Apr 2, 2020
NEWS.md rename create_config to avoid clash Apr 2, 2020
README.md add CRAN install Mar 30, 2020
appveyor.yml init appveyor and travis Mar 22, 2020
cran-comments.md add cran comment bump version Mar 29, 2020
index.md add CRAN install Mar 30, 2020

README.md

Authenticate Shiny users with Google Firebase

Lifecycle: maturing R-CMD-check Travis build status AppVeyor build status

Website | Demo | Reference

Authentication Methods

Currently the following methods from Google Firebase are available in the package:

  • Email & Password
  • Email Link
  • Google
  • Github
  • Facebook
  • Twitter
  • Microsoft
  • Yahoo!

Example

An application that provides authentication could look like this.

library(shiny)
library(firebase)

ui <- fluidPage(
  useFirebase(), # import dependencies,
  useFirebaseUI()
)

server <- function(input, output){
  f <- FirebaseUI$
    new()$ # instantiate
    set_providers( # define providers
      email = TRUE, 
      google = TRUE
    )$
    launch() # launch
}

shinyApp(ui, server)

Install

Install the stable version from CRAN:

install.packages("firebase")

Install the development from Github using remotes:

# install.packages("remotes")
remotes::install_github("JohnCoene/firebase")

Related

Below are similar projects:

Code of Conduct

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

You can’t perform that action at this time.