Page MenuHomePhabricator

Changing primary email of gitlab account
Closed, ResolvedPublic

Description

The primary email in my gitlab account seems to be my personal email. I don't remember when and how it was created. I would like to change that to my work email please. I am getting important notifications in my personal email instead of work email for this reason.

gitlab id: akhatun
work email: akhatun@wikimedia.org

Event Timeline

The associated developer account is https://ldap.toolforge.org/user/akhatun. The current email there seems to match the requested change here.

Looking at https://gitlab.wikimedia.org/admin/users/akhatun I can see both the @wikimedia.org email and an @gmail.com address configured for the account. The gmail address is marked as primary and the wikimedia one is secondary. My sense making here is that the Developer account had the gmail address when it was first attached to gitlab.

I have tried twice to change the email listed at https://gitlab.wikimedia.org/admin/users/akhatun/edit, but it reverts to the original gmail value each time upon form submission.

It appears that the LDAP record for the Developer account was last modified 2025-12-18T22:32:43Z. It looks like the most recent login on the GitLab side was 2025-12-18T22:06:00Z. If that GitLab timestamp is correct, I wonder if getting things in sync again might be as easy as @AKhatun_WMF logging out of gitlab.wikimedia.org and then logging back in again? I am relatively sure that gitlab updates account information based on the OIDC data it receives from idp.wikimedia.org on login.

The gitlab account had both a legacy Cas3 and an OIDC linked identity. I deleted the legacy Cas3 entry to see if that would change anything. It had no obvious effect on the email configuration.

Logged out and back in again. That. was. it. Thank you @bd808!

Peachey88 assigned this task to AKhatun_WMF.