Make an auth object like the one that would be present after a sucessful login, To this end the funciton can create an auth object of either no-login or the login of a given user. However, the defult behavoir of the function is create auth for the 'first_user' given in the config file
1 |
config_path |
Path to config.yaml used by shinyauth |
user_id |
The user id to create a loged in auth object for, if null defults to first_user |
no_user |
Will override user_id and create an auth object for no user loged in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.