Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add server type selector and style login flow #2517

Merged
merged 22 commits into from
Jan 29, 2019

Conversation

jryans
Copy link
Collaborator

@jryans jryans commented Jan 28, 2019

These changes get us closer to the redesign login flow. In particular, it adds the server type selector and updates many of the controls.

Future work will resolve the pending question of one or two phases since it impacts .well-known discovery.

Fixes element-hq/element-web#8167 in broad strokes. Any remaining deviations from the login designs will be tracked in separate issues.

image

image

image

@jryans jryans requested a review from a team January 28, 2019 23:58
@jryans
Copy link
Collaborator Author

jryans commented Jan 29, 2019

Since automated testing of authentication is currently a bit limited, I have tested the following auth features:

  • Username
  • Email
  • Phone
  • Matrix.org
  • Modular
  • Default server
  • Custom server
  • .well-known server discovery
  • SSO

Copy link
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.

The auth parts are a bit complicated to follow, which really just highlights that Matrix login is a hard problem. Overall this definitely looks to be going in the right direction though, which is good to see.

The only real change that needs to be made (I think) is that the Modular stuff should be a real class. We can investigate moving the Modular stuff out of the react-sdk at a alter date, but should do that ASAP.

src/components/views/auth/ModularServerConfig.js Outdated Show resolved Hide resolved
src/components/views/auth/ModularServerConfig.js Outdated Show resolved Hide resolved
res/img/feather-icons/matrix-org-bw-logo.svg Outdated Show resolved Hide resolved
Copy link
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.

Thank you! This looks fine assuming the relevant tests pass.

(also the logo looks fine now)

@jryans jryans merged commit 20bf683 into matrix-org:experimental Jan 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants