protectedServer | R Documentation |
Wraps an existing Shiny server in an OAuth2 flow.
protectedServer(
server,
client_id,
client_secret = NULL,
base_url = "https://my.solvebio.com"
)
server |
Your original Shiny server function. |
client_id |
Your application's client ID. |
client_secret |
(optional) Your application's client secret. |
base_url |
(optional) Override the default login host (default: https://my.solvebio.com). |
## Not run:
protectedServer(
server=server,
client_id="abcd1234"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.