Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/crazycapivara/shiny-auth

shiny authentification examples
https://github.com/crazycapivara/shiny-auth

Last synced: 3 months ago
JSON representation

shiny authentification examples

Awesome Lists containing this project

README

        

shiny-auth
================

Examples on how to add authentification to `shiny` apps.

run apps
--------

# all apps will be ...
Listening on http://127.0.0.1:5141

# just sign in and out by clicking an action button
$ Rscript shiny_auth_example.R

# sign in by passing an api key
$ Rscript shiny_auth_example_api_key.R

# open browser and try
http://127.0.0.1:5141
http://127.0.0.1:5141?key=1234
http://127.0.0.1:5141?key=8989

# sign in with username and password
Rscript shiny_auth_example_uid_pwd.R

# try
username = bird
password = dog

nginx meets shiny-server
------------------------

See config files for `nginx` and `shiny-server` in `nginx_meets_shiny-server` folder.