Skip to content

Autodetect of matrix server from MXID broken #29822

@mvgorcum

Description

@mvgorcum

Steps to reproduce

  1. Where are you starting? What can you see?
    I'm trying to log in to my (non-matrix.org) account.

  2. What do you click?
    Sign in -> Continue -> fill in mxid and password

Outcome

What did you expect?

I expect element to use the client .well-known to find my server and log me in, based on my mxid.

What happened instead?

It tried to login to matrix.org sending my username and password to an unrelated server that should never have access to my account.

Operating system

Linux

Browser information

Firefox

URL for webapp

develop.element.io and app.element.io

Application version

No response

Homeserver

(not relevant here, but synapse 1.128.0)

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LoginO-UncommonMost users are unlikely to come across this or unexpected workflowS-CriticalPrevents work, causes data loss and/or has no workaroundT-Defect

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions