Problem with username change and Google login
Summary
It seems like creating an account based on a GMail address, then changing the username and then logging in using the 'Google' login button creates another account, but both accounts remain linked, even though login shows different pages.
Steps to reproduce
I haven't tried reproducing this, due to the hassle of having to create a fake/second Google Account, then some GitLab projects etc. (sorry).
But my guess is, that this is indeed reproducible as it looks like a problem with account information storage/processing. How this is probably reproducible:
- Create a GitLab account using your GMail address
- Change your username away from the Google one
- Login to GitLab using the Google button.
- Delete the account from step 1.
Example Project
None, this is a problem with account processing.
What is the current bug behavior?
Logins using your username from step 2 go to a different page from Google logins. Seems like there are two different accounts somehow.
The projects and project activity shown are not the same.
However, they remain linked to the same projects, i.e. deleting the account from 2. will delete the other one, as well(including all projects on both accounts).
What is the expected correct behavior?
Logins either using Google or your username from 2. both go to the same page, no new user is created in step 3.
Relevant logs and/or screenshots
No information left, my original account was deleted due to this, along with all project information. Maybe some GitLab admin has access to relevant logs.
Output of checks
No checks.
Results of GitLab environment info
None.
Results of GitLab application Check
None.
Possible fixes
Sorry, no idea.