You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of `{auth0}` is to implement an authentication scheme to Shiny using
6
-
OAuth Apps through the freemium service [Auth0](https://auth0.com).
5
+
The goal of `{auth0}` is to implement an authentication scheme to Shiny using OAuth Apps through the freemium service [Auth0](https://auth0.com).
7
6
8
7
## Installation
9
8
@@ -17,10 +16,10 @@ You can also install the development version from github with:
17
16
18
17
```r
19
18
# install.packages("devtools")
20
-
devtools::install_github("curso-r/auth0")
19
+
remotes::install_github("curso-r/auth0")
21
20
```
22
21
23
-
## Auth0 Configuration
22
+
## Tutorial
24
23
25
24
To create your authenticated shiny app, you need to follow the five steps below.
26
25
@@ -112,12 +111,7 @@ server <- function(input, output, session) {
112
111
# note that here we're using a different version of shinyApp!
113
112
auth0::shinyAppAuth0(ui, server)
114
113
```
115
-
116
-
**Note**: If you want to use a different path to the `auth0` configuration file, you can
117
-
either pass it to `shinyAppAuth0()` or
118
-
set the `auth0_config_file` option by running `options(auth0_config_file = "path/to/file")`.
119
-
120
-
Also note that currently Shiny apps that use the 2-file approach (`ui.R` and `server.R`) are not supported. Your app must be inside a single `app.R` file.
114
+
**Note**: If you want to use a different path to the `auth0` configuration file, you can either pass it to `shinyAppAuth0()` or set the `auth0_config_file` option by running `options(auth0_config_file = "path/to/file")`.
121
115
122
116
### Step 5: Run!
123
117
@@ -182,7 +176,7 @@ library(auth0)
182
176
auth0_server(function(input, output, session) {})
183
177
```
184
178
185
-
`{auth0}` will try to find the `_auth0.yml` using the same strategy than the `app.R` framework: first from `options(auth0_config_file = "path/to/file")` and then fixing `"./_auth0.yml"`. Both `auth0_ui()` and `auth0_server()` have a `info=` parameter where you can pass either the path of the `_auth0.yml` file or the
179
+
`{auth0}` will try to find the `_auth0.yml` using the same strategy than the `app.R` framework: first from `options(auth0_config_file = "path/to/file")` and then fixing `"./_auth0.yml"`. Both `auth0_ui()` and `auth0_server()` have a `info=` parameter where you can pass either the path of the `_auth0.yml` file or the object returned by `auth0_info()` function.
Auth0 is a freemium service. The free account lets you have up to 1000 connections in one month and two types of social connections. You can check all the plans [here](https://auth0.com/pricing).
314
+
Auth0 is a freemium service. The free account lets you have up to 7000 connections in one month and two types of social connections. You can check all the plans [here](https://auth0.com/pricing).
321
315
322
316
## Disclaimer
323
317
@@ -327,14 +321,17 @@ This package is not provided nor endorsed by Auth0 Inc. Use it at your own risk.
327
321
328
322
## Roadmap
329
323
330
-
-`{auth0}` 0.2.0
331
-
-[X] Remove the need for local and remote URLs in the `config_file`.
332
-
-[X] Solve bookmarking and URL parameters issue (Issue #22).
333
-
-[x]`shinyAppDirAuth0()` function to work as `shiny::shinyAppDir()` (Issue #21).
334
-
-[x] Support to `ui.R`/`server.R` apps.
335
-
-`{auth0}` 0.3.0
336
-
-[ ] Implement `{auth0}` API functions to manage users and login options throusgh R.
337
-
-[ ] Hex sticker.
324
+
### `{auth0}` 0.2.0
325
+
326
+
-[✔] Remove the need for local and remote URLs in the `config_file`.
327
+
-[✔] Solve bookmarking and URL parameters issue (Issue #22).
328
+
-[✔]`shinyAppDirAuth0()` function to work as `shiny::shinyAppDir()` (Issue #21).
329
+
-[✔] Support to `ui.R`/`server.R` apps.
330
+
331
+
### `{auth0}` 0.3.0
332
+
333
+
-[ ] Implement `{auth0}` API functions to manage users and login options throusgh R.
0 commit comments