Can not push to my GitLab account after authentication -> oauth creds change

I’ve been through an account name change (‘dunerocks’ -> ‘chturne’) and also it seems I have been through an authentication method change (‘authetication’ -> ‘google_oauth2 authentication’). The result is I can not longer push over SSH!

$ git remote -v
old-origin	git@gitlab.com:dunerocks/bittorrent.git (fetch)
old-origin	git@gitlab.com:dunerocks/bittorrent.git (push)
origin	git@gitlab.com:chturne/bittorrent.git (fetch)
origin	git@gitlab.com:chturne/bittorrent.git (push)
$ git push -u origin --all
remote: 
remote: ========================================================================
remote: 
remote: You (@dunerocks) must accept the Terms of Service in order to perform this action. Please access GitLab from a web browser to accept these terms.
remote: 
remote: ========================================================================
remote: 
fatal: Could not read from remote repository.

However, I can only login as @chturne now, since the email address was the same for ‘authentication’ as it was for ‘google_oauth2 authentication’ :blush:

I think if you visit the gitlab.com url in your web browser and log into the web interface and accept the terms of service you will then be able to push via SSH again. At least thats what it seems to explain in the error message you posted.

Did you try that yet? Did it work?

Yes I tried that. The problem is it is no longer theoretically possible for me to login as @dunerocks. The steps I mentioned above about an auth change and a username change have put me into a blocked state. I would consider this a bug in GitLab?

Ah, OK. You will probably need one of the gitlab support team to help you out in gaining access again to your account.

Thanks for your time, what is the best way to get in touch with them? File a bug report on the GitLab, or do they read these boards?

I believe they do read them. Here is a link from a post I found here in a search that might help: Not able to login nor reset my password

it mentions to contact support@gitlab.com

1 Like