To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
I'm trying to find a good solution to integrate logged out navigation with logged in navigation. The Vaadin Dashboard demo is pretty clear with regard to how to navigate once logged in, but in my case I have a series of logged out links as well.
Right now I am using a fragmentChangeListener to navigate throughout the logged out views. This works fine when logged out and once the user logs in I am using the Vaadin navigator. This has many downsides including the back button taking the user back to the login page.
My question is, is there a cleaner way to mesh logged out navigation with logged in navigation. Hoew are others handling this?
I would suggest that you initially only register the unrestricted views to your Navigator when your app starts. Then, when the user logs in, you can add the restricted views that they can access to the Navigator.