-
-
Notifications
You must be signed in to change notification settings - Fork 812
Improve SSO auth flow #5578
Improve SSO auth flow #5578
Conversation
Use replaceState instead of a redirect to strip the loginToken Put user into the same post-auth flows of E2ESetup Skip UIA prompt in this post-auth flow, happy path is a server grace period
For better brand adherance. Also removes old support for https IdP icons.
Fixes Fallback UIA postmessage interface Auto-closes SSO UIA tab when the user has completed the flow within it Error for when auth stage is restarted because it failed
f7973fd to
1761a4e
Compare
jryans
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks like a great improvement! 😄
| @@ -0,0 +1,3 @@ | |||
| <svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg"> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Off-topic) I'm not really sure why we have an element-icons directory at all... But anyway, it's been around for a while.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it was for when the rebrand replaced a bunch but not all of the icons
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
jryans
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to merge if ready!
| border-color: #3c5a99; | ||
| color: #ffffff; | ||
| } | ||
| .mx_SSOButton.mx_SSOButton_brand_google { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, no colours needed for Google now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, the branding guidelines show it as a colourful logo on a white button. The old figma for it was white logo on red button but thats Google+
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

Requires element-hq/element-web#16292
Fixes element-hq/element-web#16219
Reviewing commit-by-commit is recommended.