Skip to content

Permanent white screen with disabled registration and identity server invites #26606

@gabrc52

Description

@gabrc52

Steps to reproduce

  1. Host Element on a custom URL, say matrix.example.org
  2. Set setting_defaults -> UIFeature.registration to false and disable_guests to true
  3. A user who has not logged in nor registered their email to the matrix.org identity server receives an email invite to a room through the matrix.org identity server (copy the link saying "Join the conversation" and paste it in an incognito window)

For reference, the URL has a structure like https://matrix.example.org/#/room/%21roomid%3Amatrix.org?email=jack%40example.org&signurl=https%3A%2F%2Fmatrix.org%2F_matrix%2Fidentity%2Fapi%2Fv1%2Fsign-ed25519%3Ftoken%3Dlongstringofthings%26private_key%3Dbla&room_name=test%20room&room_avatar_url=&inviter_name=Gabriel%20R.&guest_access_token=&guest_user_id=&room_type=

In reproducing this bug, you could try visiting this URL directly.

  1. Element redirects you to https://matrix.example.org/#/register with a white screen
  2. Any subsequent attempts to use Element, such as manually navigating to https://matrix.example.org/ result in being redirected back to the white screen

Outcome

What did you expect?

I am able to use Element

What happened instead?

White screen. Trying to switch to a different URL has Element redirect you back to #/register

image

Operating system

macOS and Linux

Browser information

Safari and Firefox 119.0.1

URL for webapp

No response

Application version

Element 1.11.48

Homeserver

Synapse 1.95.1+jammy1

Will you send logs?

Yes

Metadata

Metadata

Assignees

Labels

A-ConfigO-UncommonMost users are unlikely to come across this or unexpected workflowS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defect

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions