Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R Shiny: user authentication for a single app.R

Tags:

I am developing a R Shiny App and want to add user name and logins. I checked the RStudio demo but that is only using the ShinyServer Pro and I am using the mongolite package to back up formData to a Mongodb.

Is there any way to add user logins be forced before generating the app UI?

like image 698
Dante Smith Avatar asked Dec 15 '16 16:12

Dante Smith


People also ask

How do I make my login page Shiny?

Manual steps to build authentication page. Username : myuser Password : mypass Username : myuser1 Password : mypass1 . To change them, you can edit the following code in R program. In order to modify sidebar section, you can edit the following section of code.

What are the main 2 parts of an R Shiny app?

Shiny applications have two components, a user interface object and a server function, that are passed as arguments to the shinyApp function that creates a Shiny app object from this UI/server pair.

Is R Shiny difficult?

Along with Shiny elements, you can use HTML elements to stylize your content in your application. In my opinion, R Shiny is very easy to learn despite how powerful the tool is. If you're working on a side project or looking to add something to your portfolio, I highly recommend trying it out.


1 Answers

ShinyProxy, an open-source Docker- and Spring Java-based Shiny server, was designed to address this issue. It allows you to hard-code users in the application configuration file, connect to an LDAP server, use SSO/Keycloak, or Social network sign-in.

like image 172
John D Avatar answered Nov 11 '22 19:11

John D