Old User-Id stuck on new TTN account (two logins, same user-id)

Hi all,

I think I messed up a bit with my accounts and could use some help. :slightly_smiling_face:

I had an old TTN account with a User-ID I don’t want to use anymore, but it was tied to my preferred email (addr-A). I switched that account’s email to something else (addr-B), thinking that would free up addr-A. Then I tried to create a new account with addr-A and a new User-ID, just like it is described in this forum reply.

But… when I log into either addr-A or addr-B, both show the same old User-ID in the Sandbox Console (eu1). Even my gateway shows up in both accounts/logins. So it looks like both emails are just pointing to the same identity.

What I’d like is to use addr-A with my new User-ID, not the old one. Is there any way to detach/purge addr-A from the old account or delete/purge that old account so I can reuse the email?


So TL;DR this is what it looks like if I log into the Sandbox Console:

  • Login with new User-ID: Gateway shows up, Profile settings show old User-ID and addr-A (incorrect → Profile should show new User-ID)
  • Login with old User-ID: Gateway shows up, Profile settings show old User-ID and addr-B (incorrect → Gateway should’t show up)

Ideally I’d like to keep using addr-A with my new User-ID — but if that’s not possible, is there a way to completely purge the old account or otherwise free up the email?

I tried to look through the forum for answers and found this post, which unfortunately never got a reply.

Could this be a backend issue?

Thanks a lot for any guidance!

What happens when you try to log in with User ID rather than actual email address? (Try/test both!)

Ignore - just read after the TL:DR where you phrase it differently from initial problem statement showing what I asked! :thinking:

Try to log out of everything TTN related - main site, console (eu), even Forum and Slack (though not connected!), then try and go back in again - start with main site……

Thank you for taking the time to reply @Jeff-UK :grinning_face:

I tried what you suggested, using a different browser (Chrome now, Firefox before). For each login-attempt with either the UserID or Email I used a separate, private browsing session so that no cookies with login credentials were stored and I always had a clean browser state.

Unfortunately, the issue persists. Regardless of whether I log in with my new UserID (linked to addr-A now) or with addr-A directly, the UserID shown in the eu1 Console profile settings is consistently wrong (it shows the old UserID, which should not be associated with addr-A anymore and definitely not with the new UserID in any way). Everywhere else, like main site and “The Things ID” profile page, the information is correct.

Test results:

thethingsnetwork.org (main site):

	Login with UserId: new-user-id  
		- Displayed UserId (top-right): new-user-id
		GOTO My Profile > Account Settings (id.thethingsnetwork.org/client, The Things ID):
			- Email in My Profile: addr-A
			- Displayed UserId (top-right): new-user-id
		GOTO Console (eu1.cloud.thethings.network):
			- Email in Profile Settings: addr-A
			- UserId in Profile Settings: old-user-id (<- incorrect!)

-------------------------------------------------------------------------------

	Login with Email: addr-A
		- Displayed UserId (top-right): new-user-id
		GOTO My Profile > Account Settings (id.thethingsnetwork.org/client, The Things ID):
			- Email in My Profile: addr-A
			- Displayed UserId (top-right): new-user-id
		GOTO Console (eu1.cloud.thethings.network):
			- Email in Profile Settings:  addr-A
			- UserId in Profile Settings: old-user-id (<- incorrect!)

-------------------------------------------------------------------------------

	Login with UserId: old-user-id  
		- Displayed UserId (top-right): old-user-id
		GOTO My Profile > Account Settings (id.thethingsnetwork.org/client, The Things ID):
			- Email in My Profile: addr-B
			- Displayed UserId (top-right): old-user-id
		GOTO Console (eu1.cloud.thethings.network):
			- Email in Profile Settings: addr-B
			- UserId in Profile Settings: old-user-id

-------------------------------------------------------------------------------

	Login with Email: addr-B  
		- Displayed UserId (top-right): old-user-id
		GOTO My Profile > Account Settings (id.thethingsnetwork.org/client, The Things ID):
			- Email in My Profile: addr-B
			- Displayed UserId (top-right): old-user-id
		GOTO Console (eu1.cloud.thethings.network):
			- Email in Profile Settings: addr-B
			- UserId in Profile Settings: old-user-id

Summary:
As you can see, everything seems correct on the main site and The Things ID, but the eu1 Console still shows old-user-id for addr-A.

So it seems like the identity server has the right associations (addr-A → new-user-id, addr-B → old-user-id), but the Console is out of sync and stuck showing the wrong (old) UserID.

Is this a known sync issue between the ID server and the Console, or is there a way to force the Console to refresh its UserID mapping?

Oh and one more thing: On every site my old-user-id is displayed as old_user_id (my old UserID has underscores), except in the Console, where it is shown as old-user-id (hypens instead of underscores). Not sure if that’s relevant, but I thought I’d mention it just in case.

Thanks again for your help!

Best option at this point likely post to TTN Slack #support channel with link to this thread then you don’t have to repeat info for TTI core team to read….

Thanks Jeff, will do :grinning_face: