Is it possible to implement authentication in a way that keeps the URL the same in the browser, similar to how Facebook does it?
When a user is authenticated, they see the home page, and if not, they see the login page. However, the URL remains unchanged in both cases.
How can this be achieved using Vue.js?
I prefer not to have the home page HTML stored on the client side if the user is not authenticated (server-side rendering may be required for this scenario).
In my project, I am utilizing ASP.NET Core, Identity Server 4, TypeScript, and Webpack.