Unable to login at gitlab.com with Fedora User Agent extension enabled in Google Chrome
What is/are the relevant URL(s)
https://gitlab.com/users/sign_in/
Briefly describe the bug
URL redirect loop when trying to login at https://gitlab.com/users/sign_in/.
This is happening because the package fedora-chromium-config changes the User-Agent of Google Chrome and for an unknown reason, the gitlab.com doesn't like that change and keeps redirecting to the same login page over and over.
If possible, please specify how to reproduce the bug
- Install Fedora 35 x86_64
- Install google-chrome-stable package (e.g.:
curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm && sudo dnf install ./google-chrome-stable_current_x86_64.rpm) - Install
fedora-chromium-configpackage (e.g.:sudo dnf install fedora-chromium-config) - Open Google Chrome
- Go to https://gitlab.com/
- Accept all cookies in the banner
- Select Login
- You'll get stuck at https://gitlab.com/users/sign_in/ with the following message being displayed at every page refresh:
Checking your browser before accessing gitlab.com.
This process is automatic. Your browser will redirect to your requested content shortly.
Redirecting…
Please provide any relevant screenshots or screencasts
What is your window size, browser, operating system, and versions
Please use the following website to determine your browser specifications and provide a link developers can follow:
What is my browser https://www.whatsmybrowser.org
- The User-Agent that works:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Safari/537.36(https://www.whatsmybrowser.org/b/8ZGXA) - The User-Agent that does not work:
Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Safari/537.36(https://www.whatsmybrowser.org/b/K46W2)
Note that there is an additional Fedora; string in the User-Agent that fails to login.
I'm not sure when this started to fail because I don't login very often in gitlab.com. Once logged in, I spent months without having to login again.
What I can tell is that I use the fedora-chromium-config extension for quite some time (years) and gitlab.com was happy with that. Now, gitlab.com is not happy with that.
What computing device are you using?
An ordinary laptop.
What type of input are you attempting to use?
Webpage interactivity is often tied to a specific device event.
-
Touchscreen -
Touchpad -
Mouse click -
Mouse click and drag -
Scrollwheel -
Keyboard -
Stylus -
Other (please specify)
Have you tried a fresh incognito window? Could this be related to cookies or account type/state?
-
I tried a fresh incognito window & it had no impact. -
The problem goes away when using an incognito window. -
The problem only happens when certain cookies are set to a specific value (please specify below).
Please list any browser plugins you have enabled
- Fedora User Agent 0.0.0.7 (https://chrome.google.com/webstore/detail/fedora-user-agent/hojggiaghnldpcknpbciehjcaoafceil)
Are you blocking javascript or any other resources?
Javascript is needed for certain website functionality.
-
I AM blocking javascript or other resources. -
I am NOT blocking javascript or other resources.
What is your geographic location
Brazil
What type of network are you connected to?
Type
-
Wired -
Wifi -
Cellular (4G, 5G, etc) -
Satellite -
Other
Location
-
Home -
Workplace -
Travel facility (hotel, airport, conference center, etc) -
Public venue (restaurant, library, cafe, etc) -
VPN -
Other
Hardware
-
I am behind a network security appliance such as a firewall -
I am using a pi-hole or other hardware-based traffic blocker -
Other
/cc @gl-website
