-
Notifications
You must be signed in to change notification settings - Fork 397
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
There are few issues in the login flow when running the lakeFS server while logged out (unauthenticated):
- No redirect to login page from most of the endpoints:
If we type any lakeFS path directly in the browser (other than /repositories, /auth/groups, or /auth/policies), instead of being redirected to the login page, we see this error:

from /auth/credentials we see this error:
from /auth/users we see no error, just emtpy page:
When running lakeFS with no RBAC (auth.ui_config.rbac=none), the Users and Groups tabs under the Administration section are empty and dont redirect to the login page:
- Incorrect navbar on /auth/login
When first starting lakefs server while logged out (unauthenticated), the user is being redirected to /auth/login but the navbar displayed is the authenticated navbar (full navbar) instead of the simplified navbar:

After refreshing the page, it changes to the expected simple navbar:
- same happens If logged out, and we manually enter /repositories in the browser. We’re redirected to /auth/login but see the full navbar.
Expected behavior: When a user is not authenticated, the simple navbar should always be shown and not the full one, and all unauthenticated routes should consistently redirect to /auth/login.
Expected behavior
No response
lakeFS version
No response
How lakeFS is installed
No response
Affected clients
No response
Relevant log output
Contact details
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working