Skip to content

missing contacts when logging in from Element X #4322

@clayrisser

Description

@clayrisser

Describe the bug
When trying to login with Element X it gives the error missing contacts.

Here is the log trace I get.

2025-03-31T19:35:17.032487Z ERROR http.server.request{otel.kind="server" otel.name="POST /oauth2/registration" network.protocol.name="http" network.protocol.version="1.1" htt
p.request.method="POST" url.path="/oauth2/registration" url.scheme="http" http.route="/oauth2/registration" user_agent.original="Element X/25.03.7 (iPhone 15 Pro Max; iOS 18.
1; Scale/3.00)"}:handlers.oauth2.registration.post: mas_handlers::oauth2::registration: crates/handlers/src/oauth2/registration.rs:190: error=denied by the policy: [Violation
 { msg: "missing contacts", field: None }]     

I have the following policy set.

policy:
  data:
    admin_users: []
    admin_clients: []
    client_registration:
      allow_host_mismatch: true
      allow_insecure_uris: true
      allow_missing_client_uri: true
      allow_missing_contacts: true

To Reproduce
Steps to reproduce the behavior:

  1. Install latest Element X
  2. Try to login to custom matrix server configured with MAS

Expected behavior
I expect to login without errors.

Screenshots

Smartphone (please complete the following information):

  • Device: iPhone6
  • OS: iOS
  • Version: latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions