get_token_and_login tries to do a desktop integration but doesn't send the right values
Bug #712808 reported by
Leonard Richardson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpadlib |
Fix Released
|
Critical
|
Unassigned |
Bug Description
The deprecated method get_token_and_login tries to ask for a desktop integration token, but it doesn't give Launchpad the necessary information. The user is taken to a page and given an exception:
Unauthorized: Consumer "foo" asked for desktop integration, but didn't say what kind of desktop it is, or name the computer being integrated.<br />
The URL looks like this: https:/
Related branches
lp:~leonardr/launchpadlib/bug-712808
- Graham Binns (community): Approve (code)
-
Diff: 131 lines (+42/-37)3 files modifiedsrc/launchpadlib/NEWS.txt (+7/-0)
src/launchpadlib/__init__.py (+1/-1)
src/launchpadlib/launchpad.py (+34/-36)
Changed in launchpadlib: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
Is this a regression, or something that folk running old code will experience? does that method emit a deprecation warning?