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

Reveal custom IS field only when required #3343

Merged
merged 3 commits into from
Aug 28, 2019

Conversation

jryans
Copy link
Collaborator

@jryans jryans commented Aug 23, 2019

This hides the identity server at first from the custom server auth flows. For
the flows that may need an IS if the HS requires it (registration, password
reset), we then check with the HS before proceeding further and reveal the IS
field if it is in fact needed.

reveal-is

Fixes element-hq/element-web#10553
Depends on matrix-org/matrix-react-end-to-end-tests#55

This hides the identity server at first from the custom server auth flows. For
the flows that may need an IS if the HS requires it (registration, password
reset), we then check with the HS before proceeding further and reveal the IS
field if it is in fact needed.

Fixes element-hq/element-web#10553
@jryans jryans requested a review from a team August 23, 2019 17:46
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.

code seems fine, but the end to end tests are angry and so is i18n

src/components/views/auth/ServerConfig.js Outdated Show resolved Hide resolved
jryans and others added 2 commits August 28, 2019 11:24
Co-Authored-By: Travis Ralston <travpc@gmail.com>
@jryans
Copy link
Collaborator Author

jryans commented Aug 28, 2019

i18n fixed, tests fixed by matrix-org/matrix-react-end-to-end-tests#55.

@jryans jryans requested a review from turt2live August 28, 2019 10:49
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.

Remove the ability to set an IS at login/registration
2 participants