Closed
Bug 1368739
Opened 8 years ago
Closed 8 years ago
BMO OrangeFactor integration doesn't work with SSO
Categories
(bugzilla.mozilla.org :: Extensions, enhancement, P5)
Tracking
()
RESOLVED
FIXED
People
(Reporter: RyanVM, Assigned: emorley)
References
Details
Attachments
(1 file)
Broken by the SSO move. Can't load the data anymore.
Assignee | ||
Comment 1•8 years ago
|
||
The graph part of the integration being affected by SSO was expected (bug 1356410 comment 29) - though it was hoped that for users already signed in the API call would still work. It looks like the integration should be setting withCredentials=True so the SSO cookie gets sent, which should make it work:
https://github.com/mozilla-bteam/bmo/blob/20c1dbebae25818af68e68b77b8e33b76720c3c4/extensions/OrangeFactor/web/js/orange_factor.js#L75-L79
ie:
```
xhrFields: {
withCredentials: true
},
```
Though IMO the graph part of the integration was pretty awful and not very helpful, so I wonder if it's even useful to leave it in any more?
Blocks: 1365662
Component: OrangeFactor → Extensions: OrangeFactor
Product: Tree Management → bugzilla.mozilla.org
Summary: BMO OrangeFactor integration no longer works → BMO OrangeFactor integration doesn't work with SSO
Version: --- → Production
Reporter | ||
Comment 2•8 years ago
|
||
"X failures in the last week" was useful
Updated•8 years ago
|
Priority: -- → P5
Assignee | ||
Comment 3•8 years ago
|
||
Assignee | ||
Comment 4•8 years ago
|
||
OrangeFactor API CORS headers updated earlier in:
remote: https://hg.mozilla.org/automation/orangefactor/rev/d01ad249565ef16d8516ccf671f0c915e470fc3
Comment 5•8 years ago
|
||
To git@github.com:mozilla-bteam/bmo.git
9b98e5f44..0087764fc master -> master
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Attachment #8872736 -
Flags: review?(dylan) → review+
Assignee | ||
Comment 6•8 years ago
|
||
Many thanks!
Assignee | ||
Comment 7•8 years ago
|
||
I've also disabled the Cookie attribute `SameSite=Lax` that lua-resty-session adds by default, since otherwise it would prevent usage of the API by BMO in browsers that support it (currently only Chrome and Opera)
https://hg.mozilla.org/automation/orangefactor/rev/5f58d96de33a6f64c02f4c61bb7f8d076589b7db
Updated•6 years ago
|
Component: Extensions: OrangeFactor → Extensions
You need to log in
before you can comment on or make changes to this bug.
Description
•