I have to log in every time I access gitlab.com

for roughly a month (or maybe later), my login doesn’t persist in cookies/storage anymore. Everytime I open a browser to access gitlab.com I’m logged out and need to log in again with a verification code sent by email.

Is there any way so I can configure my account to stay logged in a little longer like in the old times?

I’m logged into gitlab.com all the time, and don’t have this problem. Are you 100% sure you checked the box that ensures that you stay logged in? Are you perhaps using some VPN or other potentially untrusted service provider that is causing you to verify because of the lack of IP address reputation?

I have the same problem. I’m sure I’m checking the box to stay logged in. For the network I’m on, it’s just my normal home ISP (Deutsche Telekom) no vpn or anything else.

I mostly notice on my smartphone, but it also happens on my desktop (both Firefox)

the problem is resolved for me. It now works again. But in January/February it happened to me 6-7 times in a row that I had to log in again including verification code per email.

This hasn’t happened once in the last 10 days.

Sometime this could happen when you clear browser cache.

Try accessing the GitLab in private or incognito browsing window.

I have the same problem. I access my gitlab through the school computer, no problem, it always remembers me. But at home I have two PCs, a gaming-laptop and a working-laptop, on both it logs me out every time. Maybe it is because of the internet provider? At home I have Magenta (Austrian Deutsche-Telekom).

I’m currently being asked to log in with CAPTCHA and email verification every time I access GitLab (the CAPTCHA is particularly awkward because it has accessibility implications). I think it’s because I’m using an ISP-supplied router that gives me an IPv6 address but gives me a slightly different IPv6 address every time I turn on the computer. GitLab is interpreting an IP change as requiring a new login. When I proxy my browsing through a fixed IPv4 address, the problem does not occur. This is using Firefox 130 on Lubuntu 24.04. Gitlab.org issue #385327 suggests it’s being looked at. Meanwhile at least associating my account with GitHub and using GitHub to authenticate to GitLab seems to allow the email verification to be skipped although I still have to solve a CAPTCHA (which due to my disability takes me longer than the designers may have realised). At least issues can be replied to by email.

I reinstalled my browser and now this happens again each and every time I access gitlab. I hope it will go away after 6 or 7 times.

this is highly annoying. This happens to me every day.

every day

this is crazy.
happened again yesterday
happened again today TWICE!

it doesn’t even hold for one day? Really, is this necessary?

I don’t have this problem with gitlab.com so it would suggest your computer/browser settings or privacy restrictions/network access is the problem here. If it was happening to me as well, then I would agree but it seems only unique to a few people. Try accessing it from another computer or internet connection and reset your browser settings to the default without restricting the settings.

1 Like

I assume you’ve been using the same browser for a while now.
This issue happened to me start of the year when I got a new computer, then for the first 6-7 times I wanted to access gitlab.com, I was logged out and had to go through captcha and e-mail MFA.
But 3 weeks I ago, I had to re-install my browser and now I’m in this stage again. Just that this time, I’m past the 6-7 logins and closer to 10-12 already.
If you want to try it yourself, just access gitlab.com with a different browser than you usually do, and it will probably happen to you as well for several days.

And yes, I’m checking the box to stay logged in. And I have no issues staying logged in on any other website.

I usually use Brave browser, but I have now logged in with Chrome as well as Firefox, ticked the box, supplied my MFA credentials and shall see what happens over the next few days to see if I’m affected or not.

As for my Brave browser, been logged in all the time, sometimes cookie expired maybe after 3-6 months but that’s about it and never experienced this. So I expect Chrome and Firefox will also be the same for me. I will report back in a few days.

2 Likes

Still logged in to gitlab.com after two days in both Chrome and Firefox which I don’t normally use. And accessed from multiple locations too, so different IP.

1 Like

I guess I owe you an apology. I’m still logged in two days in Firefox. It’s only on Chrome that I keep getting logged out and have to provide captcha and MFA. (happeend again yesterday and today)

Thanks for also testing this.

But now I’m scared, that something here is wrong with my system.

1 Like