fullmeta-dev / githoot-public

git.ht issues and public discussion
6 stars 0 forks source link

Claiming a second subdomain doesn't work and has no error message #5

Open matthewschallenkamp opened 1 year ago

matthewschallenkamp commented 1 year ago

On Android Chrome, I claimed git.git.ht and successfully made a hoot and had it appear on the newly created rss feed. Circling back and looking to claim matthew.git.ht, clicking the claim link seems to do nothing. The same claim page just stays loaded - no error message or anything afaict.

Similar issue on mac chrome - It did redirect once to a github reauth and then to a 500 error page. After that, the link only caused the page to reload.

vkz commented 1 year ago

Hi Matthew. Thank you very much for trying git.ht! This particular issue IMO "works as intended" in that it maintains a 1-to-1 correspondence with a Github user. That is, the system will reject any attempt to claim more than one subdomain on git.ht with the same Github id. I couldn't come up with any legitimately good use cases for having multiple git.ht identities tied to the same Github account. This is very similar to Github itself, which ties your id to an email (I think) and makes no accommodations to running multiple Github identities on the same machine, short of keeping separate browser profile that you could do with e.g. Firefox.

So, with the same Github id you'll be able to claim a single subdomain. Granted, we need a better error message and a user feedback. In particular when there is a "silent" failure, which is "silent" because you already authenticated with Github in the browser once and Github probably placed it's cookie. Turns out I already have that exact TODO note in the code.