Allow the app to be configured to bypass the server selection screen. (#4131)

* Make account provider configuration more flexible.

- Change defaultHomeserverAddress to an array of providers (needs UI).
- Add allowOtherAccountProviders to prevent the user from manually entering a provider.

* Refactor QR code scan failures into a common type.

* Validate scanned QR codes against the allowed account providers.

* Hide the login flow on the QR code screen when restricted.
This commit is contained in:
Doug
2025-05-20 11:09:50 +01:00
committed by GitHub
parent 10fb2b5dda
commit 390553f5fe
26 changed files with 326 additions and 111 deletions
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4624b04341dd9beefcf689a39b047c9d6ebea797d68996e4ea669b45d6494faf
size 112957
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58643fdc4bc95fda9cdc91d33b9b98973c6b67de256ca800a2babece767808d2
size 134945
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:75e324ee678e506005f852ac377fc02281ee60335c3f996df7528335b9cc255d
size 66133
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5407ba8180475d70b3aee7fdcb6a2e8e84fb6977a29b1b223566c3d31872ec2
size 93700
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ecff6f7fb1e12a42c25761e0b83658550e62e6ec4a8fca1e239b63d5851cf31
size 122577
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:77a3fbc2dd4fd8f6c45c205bff44b5544b4e1d368e0457f6e9ae4b17ecca9b7f
size 132753
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:033db8a5d3b9b0cd70b8c8b01856dddf5703f11be3027fe5ac1d1c105ab8f1b6
size 67172
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a355d8275b8be088bfab2b61a630fc164eb6ea3537ad335435df80b899615c48
size 84715