Closed c7hm4r closed 5 years ago
Now, I could fix the described problem by replacing the line …
default_identity_server: "matrix.my-server.org"
… in Synapse’s homeserver.yaml
by …
default_identity_server: "https://matrix.my-server.org"
However, I wonder why this value is used. Should not Riot’s default_hs_url
override Synapse’s default_identity_server
?
The whole process does still not work, but I think this has nothing to do with Riot: MXISD says, Mapping for email:mxisd-federation-test@kamax.io already exists, refusing to store invite
, and sends a 400 response to Synapse, which forwards this as a 500 response to Riot.
Description
When I try to invite the MXISD federation test user via email (mxisd-federation-test@kamax.io), Riot generates a web request to
https://riot.my-server.org/matrix.my-server.org/_matrix/identity/api/v1/lookup?medium=email&address=mxisd-federation-test@kamax.io
… which yields a 404 as there is no
matrix.my-server.org
directory in Riot’s web root.This hinders invitation of the user via email. Invitation via Matrix username (
@mxisd-lookup-test:kamax.io
) works.The functionality of the test user is described at: https://github.com/kamax-matrix/mxisd/blob/master/docs/getting-started.md#validate
Steps to reproduce
mxisd-federation-test@kamax.io
→ invalid web request is sentExpected: Web request is sent to identity server URL
https://matrix.my-server.org/_matrix/identity/api/v1/lookup?medium=email&address=mxisd-federation-test@kamax.io
Configuration
Riot’s
config.json
:Excerpt of Synapse’s
homeserver.yaml
:Excerpt of MXISD’s
mxisd.yaml
:Version information