osm-teams icon indicating copy to clipboard operation
osm-teams copied to clipboard

User with changed OSM user name broken

Open atiannicelli opened this issue 2 years ago • 1 comments

I have an OSM user ID of 251140. My original username was atiannicelli. I recently switched my OSM user name to OldManCelli (for obvious reasons). Anyway, when I login to teams using my OSM account my original username is showing up (atiannicelli) not my new one.

If I click on the OSM icon to go to my OSM account from teams it tells me that user atiannicelli doesn't exist (because it is trying to load the following page: https://www.openstreetmap.org/user/atiannicelli instead of https://www.openstreetmap.org/user/OldManCelli

If I click on the osmcha link I get a page searching for my original user name: https://osmcha.org/?filters={%22users%22:[{%22label%22:%22atiannicelli%22,%22value%22:%22atiannicelli%22}]} I think this should be https://osmcha.org/?filters={%22uids%22:[{%22label%22:%22251140%22,%22value%22:%22251140%22}]}

Finally - the How do you contribute link is also broken because of the name change: https://hdyc.neis-one.org/?atiannicelli (bad) https://hdyc.neis-one.org/?OldManCelli (should be)

Screenshot 2023-07-07 at 9 35 59 AM

atiannicelli avatar Jul 07 '23 14:07 atiannicelli

Thanks for filling the issue. This is related to https://github.com/developmentseed/osm-teams/issues/298#issuecomment-1348220448 and so we'll have to find a new method for figuring out if the username that we've cached has changed.

cc @batpad @geohacker

kamicut avatar Jul 07 '23 14:07 kamicut