Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.well-known is not used at registration #15568

Closed
notramo opened this issue Oct 26, 2020 · 4 comments
Closed

.well-known is not used at registration #15568

notramo opened this issue Oct 26, 2020 · 4 comments

Comments

@notramo
Copy link

notramo commented Oct 26, 2020

Element doesn't do .well-known discovery when entering a custom server name at registration.
This can seriously affect FTUE. It would be good if Element did the discovery everytime, so the users could extract the server name from the Matrix ID (the part after the :), and not have to think about the two different addresses (the one in the ID, and the real address).
E.g. the grin.hu server is located at matrix.grin.hu
It is configured at login from .well-known, but not at registration.
kép

@t3chguy
Copy link
Member

t3chguy commented Oct 26, 2020

The Matrix spec only defines the well-known resolution from an MXID, during registration the user doesn't enter an MXID.
The same applies to login, if you enter a url manually then it will be used verbatim.

@notramo
Copy link
Author

notramo commented Oct 26, 2020

Do you think it is good for FTUE?
So I have to explain to my non-techie friends, that:

Matrix is based on HTTPS. Nevermind if you don't know what it is, simply remember you have to enter it as a prefix before the second half of the Matrix ID. Like in an URL. But this is not a webpage that you can visit, you enter this address into https://app.element.io Also, the actual address of the Matrix server is not the same as it is in your Matrix ID, it is different, so when you enter the address, you have to use https://matrix.grin.hu, but when you give your Matrix ID to someone, it ends simply with :grin.hu

or simply (with this feature added)

The server address is the second half of the Matrix ID, that comes after the : Enter it in at registration.

@t3chguy
Copy link
Member

t3chguy commented Oct 26, 2020

I don't. But it's also an issue for the Matrix spec rather than Element.

@turt2live
Copy link
Member

Duplicate of #8310

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants