Description
We see an error in the lakeFS WebUI when performing the following flow:
- Log in to lakeFS using lakeFS credentials.
- Delete the internal_session cookie.
- Navigate to
/auth/credentials
.
Instead of being redirected to the login page, the user sees the following error:
Additionally, when navigating to /auth/users
after deleting the cookie, the user is correctly redirected to the login page, but, the top navbar still appears, even though the user is logged out and the login page should not display it:
Expected Behavior
When the internal_session cookie is missing or invalid, navigating to any authenticated routeshould redirect to the login page and not display the navbar.