Closed
Bug 1203688
Opened 9 years ago
Closed 9 years ago
Users cant login via oauth
Categories
(Firefox OS Graveyard :: Gaia::Bugzilla Lite, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: daleharvey, Assigned: daleharvey)
Details
Attachments
(1 file)
Looks like a recent change to bugzilla means the oauth type flow is now broken
Assignee | ||
Comment 1•9 years ago
|
||
Hey Byron, I didnt notice any being announced, are there any changes to this flow?
Flags: needinfo?(glob)
Assignee | ||
Comment 2•9 years ago
|
||
It fails with Auth delegation received an HTTP response other than 200 OK from auth consumer. Code: 404
Comment 3•9 years ago
|
||
Right, the auth delegation sends a post request now. Let me dig up the docs on that.
Assignee | ||
Comment 4•9 years ago
|
||
Hrm a POST request is pretty problematic, it means that it isnt possible to build a bugzilla client as a static application without a web server. I luckily havent already got rid of the bzlite web server so I will probably be able to live with it, but I was planning to move it to hosting on gh-pages. I assume a bunch of people who want to use the bugzilla api would also like to build their applications as static apps without a web server.
Comment 5•9 years ago
|
||
GET requests are more problematic as the api keys will show up in server logs. Bug 1175643 is the change that introduced this. The dogs are not up on read the docs yet, I'll get that sorted out right now.
Assignee: nobody → dylan
Flags: needinfo?(glob)
Comment 6•9 years ago
|
||
Here's how it works now. https://bmo.readthedocs.org/en/latest/integrating/auth-delegation.html I'm closing out this bug. You can catch me on irc most of the time if you have any issues!
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 7•9 years ago
|
||
Heh, I realize this is not a bugzilla bug. my apologies.
Assignee: dylan → nobody
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → dale
Assignee | ||
Comment 8•9 years ago
|
||
This has been pushed to https://bzlite-staging.herokuapp.com/ to test (you can only use credentials @ https://github.com/mozilla-b2g/bzlite#running-bugzilla-lite to login, personal logins wont work)
Attachment #8660303 -
Flags: review?(dietrich)
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8660303 [details] [review] https://github.com/mozilla-b2g/bzlite/pull/42 Adding Dylan since it looks like dietrich is busy, Dylan if you could take a quick look at this would be appreciated
Attachment #8660303 -
Flags: review?(dylan)
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8660303 [details] [review] https://github.com/mozilla-b2g/bzlite/pull/42 I will get this reviewed before merging damnit :)
Attachment #8660303 -
Flags: review?(glob)
Comment 11•9 years ago
|
||
Comment on attachment 8660303 [details] [review] https://github.com/mozilla-b2g/bzlite/pull/42 It looks sane to me. We had a B-Team work week last week, so nobody was really available to review it. Sorry about that. :) r=dylan
Attachment #8660303 -
Flags: review?(dylan) → review+
Attachment #8660303 -
Flags: review?(glob)
Assignee | ||
Comment 12•9 years ago
|
||
No bother, thanks for the review https://github.com/mozilla-b2g/bzlite/commit/1923e9c0a934acf2657ff9f138697410c3b88410
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
Comment 13•9 years ago
|
||
Comment on attachment 8660303 [details] [review] https://github.com/mozilla-b2g/bzlite/pull/42 Canceling review request since already landed - so maybe doesn't matter, but I had a few questions on the PR.
Attachment #8660303 -
Flags: review?(dietrich)
You need to log in
before you can comment on or make changes to this bug.
Description
•