rugk/mastodon-simplified-federation

Cannot load account if canonical instance name in username != server domain

rugk opened this issue · 4 comments

rugk commented

Bug description

The account of one special user/instance cannot be loaded.

Steps to reproduce

  1. go to https://social.wake.st/@liaizon
  2. Click "Follow"

Loads https://social.wiuwiu.de/authorize_interaction?uri=liaizon@social.wake.st (which looks okay/corrrect)

Actual behavior

"Could not load account."

Expected behavior

Show account.

also when I search for account/toots, they are loaded properly and I can follow the user, actually

System

Operating system and version: Fedora 31
Browser and version: Firefox 71
Add-on version: 1.2

Possible solution

Maybe the special characters in the username cause the problem (okay, actually it's only the display name, so should not matter)
or it#s a federation/Mastodon problem? 🤔

I am pretty sure its because I have my canonical username set to @liaizon@wake.st

rugk commented

hu?

Ahh ugh, get it. So the name of the instance and the domain name in the instance handle are different?

That works?
I did not know this is possible in Mastodon.

Could you tell me more about that "canonical name" thing? Is there some official Mastodon doc on that?


As a side-note: If you use the add-on, what did you enter as your own instance handle?'
Does it also work if you enter the "other" handle? If no, would you expect it to work? (i.e. is this another/different bug…)

Not reproducible on v4