Giter VIP home page Giter VIP logo

Comments (1)

PaulC91 avatar PaulC91 commented on June 12, 2024

Hi there,

So in this case you have to integrate the shinyauthr login panel shinyauthr::loginUI(id = "login") and logout button shinyauthr::logoutUI(id = "logout") inside the shinydashboard dashboardPage() UI, otherwise you will have 2 separate UI pages as you see above.

You can take a look at example code using shinyauthr with shinydashboard here and see this app in action by running shinyauthr::runExample("shinydashboard")

In your case, you will need to use sidebarMenuOutput() and uiOutput() for your sidebar and tab items in the UI and then render them in the server function only when a successful login happens with renderMenu() and renderUI().

If you run into any more issues it's best to ask for help on stackoverflow or RStudio Community (unless it's an obvious bug in the package) as you'll most likely get an answer very quickly and more people can benefit from the more visible discussion.

Good luck!

from shinyauthr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.