cinnyapp / cinny

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

Incorrect Mozilla HS name #199

Closed notramo closed 2 years ago

notramo commented 2 years ago

The domain used in Matrix IDs is mozilla.org The displayed mozilla.modular.im is only the .well-known address (like matrix-client.matrix.org). image

ajbura commented 2 years ago

Mozilla wiki recommend modular.mozilla.im as homerserver. I have tried mozilla.org and it doesn’t return anything.

notramo commented 2 years ago

https://www.mozilla.org/.well-known/matrix/client

notramo commented 2 years ago

The wiki doesn't recommend it over mozilla.org It says that most clients will work with that address. Including the geeky ones which doesn't support .well-known lookup.

From the Mozilla wiki:

These details will be autofilled for you in most clients if you enter your full username (e.g. @susan:mozilla.org rather than susan) into the username field. In general it is preferable to do that rather than trying to remember what the homeserver URL is.

The autofill is done by .well-known lookup. However, they messed it up with their configuration:

image

ajbura commented 2 years ago

https://www.mozilla.org/.well-known/matrix/client

Don’t know whats happening www.mozilla.org work but not mozilla.org. Not only Cinny, Element also behave same.

notramo commented 2 years ago

They have misconfigured their CORS headers. I took the screenshot from devtools while entering mozilla.org in Element.

dreaddr commented 2 years ago

Can this be fixed? I can't log in via mozilla.org for some reason.

kfiven commented 2 years ago

@dreaddr I believe this needs to fixed from Mozilla side. What we have (mozilla.modular.im) should work for you.

notramo commented 2 years ago

I notified them via Matrix. Once they fix the HTTP headers, it can be switched to mozilla.org in Cinny.

ajbura commented 2 years ago

https://bugzilla.mozilla.org/show_bug.cgi?id=1747089 bug request link.