Unable to accept organization invitation after Account name change: There was an issue joining the organization: NameID <email> is already linked to <old name> account

Hello,

I’ve been invited to a new organization and i’ve created a github account for this. however, just after creating it i decided to change the username to avoid confusion with my personal github.

After the change was made, i cannot join my organization’s space. The invitation is sent to the email, and it asks for auth, but after that it returns to the invitation page with the error:
There was an issue joining the organization: NameID is already linked to account.

Tried to delete and create the account again, but it didn’t work. also, the old name appears taken.

it is the same error that is described in this ticket [Urgent unable to access org] NameID already linked to account however the solution to unlink and relink SAML did not work.