Skip to content

Element X not working #679

@clayrisser

Description

@clayrisser

When trying to sign in using MAS with Element X I get an Error.

Image

When checking the mas logs I get this error.

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 }]      

This is my policy config.

mas:
  mas:
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions