Closed nikosatwork closed 1 week ago
In 24.8.1 it redirects you to home screen
Still feels somewhat related to #536 and #554. Will assign to @RulaKhaled in the event these share a similar root cause.
@eliatcodecov It's not really a bug, the login button in the top banner is always visible
So far, this is the expected behavior in the app; it’s not specific to self-hosted instances. Is there a particular design we want to implement here? Looping in @Adal3n3 and @codecov/design for further input
In self-hosted v24.10.1, if you logout and land on a private repository within Codecov, then you get the 404 with no navigational bar at the top.
Example:
From Network inspection, https://codecov.self-hosted.com/internal/user
call returns:
"detail": "Authentication credentials were not provided."
Got it, thanks for the quick follow-up. I will be investigating this.
@nikosatwork the latest version is now Release 24.11.1 can you still see this error?
Thank you @RulaKhaled - I can confirm this is fixed in 24.11.1, and the Login button gets you to the home screen where you can login.
Ideally users should be able to login & land on the page they were visiting in the first place.
Scenario:
I agree, your suggestion makes sense! fwiw the 404 page plays a security role it's designed to prevent unauthorized individuals from gaining any hints about the existence of private repositories, we effectively avoid confirming whether a repository exists or not to anyone who isn't authenticated. With that in mind, our goal is to balance security and usability so i will definitely raise this with product team to unify this desired experience in both cloud and self hosted.
I will close this issue as resolved in the latest version and link the new issue for the desired flow once it's ready :)
Describe the bug
When anyone landing on an private repo page in codecov, and are not logged in or are not account members, they get a 404 page. This page does not have the login options at the top, so users are stuck.
Environment (please complete the following information):
Version: 24.10.1
To Reproduce Steps to reproduce the behavior:
Expected behavior Get a nice login page or show & point to use the Login button in the top bar
Screenshots
Additional context