Closed Bug 1219217 Opened 10 years ago Closed 10 years ago

can't see bugs when logged into bzlite via oauth

Categories

(Firefox OS Graveyard :: Gaia::Feedback, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: daleharvey, Assigned: daleharvey)

Details

(Keywords: foxfood, Whiteboard: [bzlite])

User-Agent: Mozilla/5.0 (Mobile; rv:43.0) Gecko/43.0 Firefox/43.0 When I got to profile the name is blank, probably related
Assignee: nobody → dale
Hey Dylan Has anything changed on the bmo side for this? The documentation looks old, https://bugzilla.readthedocs.org/en/latest/integrating/auth-delegation.html#auth-delegation. bzlite is opening https://bugzilla-dev.allizom.org/auth.cgi?callback=https://bzlite-staging.herokuapp.com/bz_auth/&description=Bugzilla%20Lite,%20mobile%20bugzilla%20client The server then has a route that receives POST /bz_auth/ that accepts body.client_api_key + body.client_api_login, stores them a returns a secret, the client then gets redirected to https://bzlite-staging.herokuapp.com/bz_auth/?client_api_login=dale%2Bbzlite%40arandomurl.com&callback_result=7b8d2058b064a6c08bae4313f52e3ca5f52cda14 And I use that secret to fetch the client_api_key + client_api_login and validates the login with those details I cant see which exact part is failing right now, lost access to heroku logs, will get it back soon but just checking that is still the expected flow
Flags: needinfo?(dylan)
The bmo docs are https://bmo.readthedocs.org/en/latest/integrating/auth-delegation.html?highlight=delegation. I'll look into why the bugzilla docs are out date, but bugzilla.readthedocs.org is for upstream, not BMO.
Flags: needinfo?(dylan)
Ok thanks a lot, there was a small typo when we switched from GET to POST so r=me'ing that https://github.com/mozilla-b2g/bzlite/commit/dafd015c4d32e2ce2a6bfe04977290422e2e973e Cheers
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.