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

use_auth0

Auth0 configuration file


Description

Create an YAML containing information to connect with Auth0.

Usage

use_auth0(path = ".", file = "_auth0.yml", overwrite = FALSE)

Arguments

path

Directory name. Should be the root of the shiny app you want to add this functionality

file

File name. Defaults to _auth0.yml.

overwrite

Will only overwrite existing path if TRUE.

Details

The YAML configuration file has required parameters and extra parameters.

The required parameters are:

  • auth0_config is a list contaning at least:

    • api_url: Your account at Auth0 (e.g. https://jonhdoe.auth0.com). It is the "Domain" in Auth0 application settings.

    • credentials: Your credentials to access Auth0 API, including

      • key: the Client ID in Auth0 application settings.

      • secret: the Client Secret in Auth0 application settings.

The extra parameters are:

  • scope: The information that Auth0 app will access. Defaults to "openid profile".

  • request: Endpoit to request a token. Defaults to "oauth/token"

  • access: Endpoit to access. Defaults to "oauth/token"


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.