cinnyapp / cinny

Yet another matrix client
https://cinny.in
GNU Affero General Public License v3.0
1.98k stars 257 forks source link

Usability: Accept Matrix address in username field at login #187

Closed notramo closed 2 years ago

notramo commented 2 years ago

Currently, the user has to enter the server name, then enter the localpart of the Matrix address.

The username field should accept a full Matrix ID in that field(eg. @notramo:grin.hu), then fill the server name automatically.

image

notramo commented 2 years ago

@ajbura, it doesn't work on dev.cinny.in It don't show the error, but doesn't change the homeserver input field. image

ajbura commented 2 years ago

it’s never supposed to change that field but it will log you in. Changing that field will slow the login process as card will reload based on what login methods are supported by homeserver.

notramo commented 2 years ago

But the new homeserver may not support SSO. For example, the grin.hu server doesn't support Apple, Google, GitHub, etc. logins, but the icons are shown. Also, it's a problem with mozilla.org HS as it only supports SSO.

ajbura commented 2 years ago

yeah, I still recommend username in that field and changing homeserver where it’s shown. It’s for pro users who wants to get into app fast.

I don’t like the idea when someone enter their mxid in username field, say a mozilla hs mxid and that field disappear completely. but now it will just show them an error that password based login isn’t supported.