Closed Bug 1626182 Opened 4 years ago Closed 3 years ago

Support the SSO for chat.mozilla.org

Categories

(Chat Core :: Matrix, enhancement)

enhancement
Not set
normal

Tracking

(thunderbird_esr78 wontfix)

RESOLVED FIXED
88 Branch
Tracking Status
thunderbird_esr78 --- wontfix

People

(Reporter: khushil324, Assigned: freaktechnik)

References

Details

Attachments

(1 file, 1 obsolete file)

No description provided.
Assignee: nobody → khushil324
Blocks: 1572636
Assignee: khushil324 → martin
Status: NEW → ASSIGNED

Comment on attachment 9185690 [details] [diff] [review]
WIP-Bug-1626182_Support-the-SSO.patch

The patch is based on the WIP from khushil. It adds proper login flow detection and fails login if there's a password but m.login.password is not supported, or if there is no password set and SSO isn't supported either. Further, this switches the matrix client over to using an access token by default (can be disabled in the account settings) and stores the device ID, which should lead to a side-effect of fixing of Bug 1679112. It also updates the behavior so the session is logged out of when the account is removed and if you re-login/authenticate the device ID should get re-used. All the session information is stored as prefs.

Lastly there are fixes to the OAuth window, since that browser was just blank. I didn't fix the window beyond "ok, it works now", so I'm not sure if everything is absolutely correct in an e10s world, and some of the UI doesn't look that great anymore...

Attachment #9185690 - Attachment is obsolete: true

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/07edcf4365a2
Support Matrix SSO login flow. r=clokep

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch

Excuse me, is it still possible to have this in 78.x ?
88 is too far in the future.

No, so many other Matrix things are not working on 78. If you're in a hurry to use it you can use trunk. Even on trunk it's not enabled by default just yet.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: