Skip to content

element.io defaults for sign in with QR#23491

Closed
hughns wants to merge 1 commit into
developfrom
hughns/login-with-qr
Closed

element.io defaults for sign in with QR#23491
hughns wants to merge 1 commit into
developfrom
hughns/login-with-qr

Conversation

@hughns
Copy link
Copy Markdown
Member

@hughns hughns commented Oct 14, 2022

Proposed behaviour:

app.element.io

  • enable showing QR from settings where homeserver supports it
  • no fallback server

Login screens:

No change to login screens.

Settings screens:

If the homeserver doesn't have the support for QR login enabled then settings will look no different from normal:

image

However, if QR login is enabled on the homeserver (support for MSC3882 and MSC3886) then it would look like this:

image

develop.element.io

  • enable showing QR at point of login
  • enable showing and scanning QR from settings where homeserver supports it
  • fallback server configured for when HS doesn't have MSC3886 enabled

Login screens:

So, at login a new button is visible:

image

Settings screens:

If the homeserver doesn't support MSC3882 then it will look like normal:

image

If the homesever does support MSC3882 then it will look like this:

image

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

Here's what your changelog entry will look like:

✨ Features

  • element.io defaults for sign in with QR (#23491). Contributed by @hughns.

develop:
 - enable showing QR at point of login
 - enable showing and scanning QR from settings
 - fallback server configured for when HS doesn't have MSC3886 enabled
app:
 - enable showing QR from settings
 - no fallback server
@hughns hughns requested a review from a team as a code owner October 14, 2022 10:52
@t3chguy
Copy link
Copy Markdown
Member

t3chguy commented Oct 14, 2022

Needs similar PR for Element Desktop configs - https://github.com/vector-im/element-desktop/

@t3chguy
Copy link
Copy Markdown
Member

t3chguy commented Oct 14, 2022

Given this is touching release instances it should get a product checkmark

@t3chguy t3chguy requested a review from a team October 14, 2022 13:17
@hughns
Copy link
Copy Markdown
Member Author

hughns commented Oct 14, 2022

The plan is that once other parts of the QR login are more widely available (e.g. server support, better support in iOS/Android), additional capabilities would be opened up on app.element.io.

@hughns hughns marked this pull request as draft October 14, 2022 15:27
@hughns
Copy link
Copy Markdown
Member Author

hughns commented Oct 14, 2022

I've converted this to draft as the short term rollout plan for the QR capability has changed.

There is no longer an immediate need for this to be available on *.element.io.

Copy link
Copy Markdown
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clearing code review while in draft

(also don't forget about element-desktop)

@hughns
Copy link
Copy Markdown
Member Author

hughns commented Feb 14, 2023

I'm closing this as rollout is taking a different approach via matrix-org/matrix-react-sdk#10066

@hughns hughns closed this Feb 14, 2023
@t3chguy t3chguy deleted the hughns/login-with-qr branch February 11, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants