← Back to team overview

desktop-packages team mailing list archive

[Bug 1415376] Re: Fallback to other content_type if parsing fails

 

This bug was fixed in the package signon-plugin-oauth2 -
0.21+15.04.20150128-0ubuntu1

---------------
signon-plugin-oauth2 (0.21+15.04.20150128-0ubuntu1) vivid; urgency=medium

  [ Alberto Mardegan ]
  * New upstream release
    - Add ForceTokenRefresh flag for forcing a new token
    - OAuth2: implement a fallback mechanism when parsing replies
      (LP: #1415376)
    - Fixes build with -Werror=unused-variable
    - Improve test coverage
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Wed, 28 Jan 2015 17:16:29 +0000

** Changed in: signon-plugin-oauth2 (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to signon-plugin-oauth2 in Ubuntu.
https://bugs.launchpad.net/bugs/1415376

Title:
  Fallback to other content_type if parsing fails

Status in signon-plugin-oauth2 package in Ubuntu:
  Fix Released

Bug description:
  WHen trying to create a weibo account-plugin, an access_token is
  received, but failed to parse, as it shows up with CONTENT_TYPE of
  text/plain even though it's json

  sendOAuth2PostRequest : Query string =   QUrl( "?grant_type=authorization_code&code=10c3826cc5a2bc8f41944e11b4cb4c32&redirect_uri=https://wiki.ubuntu.com/"; ) 
  syslog:Jan 28 06:28:01 ubuntu-phablet signonpluginprocess[9658]: ../../../../src/remotepluginprocess/remotepluginprocess.cpp 496 startTask operation is completed
  syslog:Jan 28 06:28:02 ubuntu-phablet signonpluginprocess[9658]: base-plugin.cpp 133 onPostFinished : Finished signal received
  syslog:Jan 28 06:28:02 ubuntu-phablet signonpluginprocess[9658]: oauth2plugin.cpp 428 serverReply : "{"access_token":"2.00xzUlGB0tpiMK297ffd7bd8xynhbD","remind_in":"131519","expires_in":131519,"uid":"1016111425"}"
  syslog:Jan 28 06:28:02 ubuntu-phablet signonpluginprocess[9658]: oauth2plugin.cpp 432 serverReply : QVariant(int, 200)
  syslog:Jan 28 06:28:02 ubuntu-phablet signonpluginprocess[9658]: oauth2plugin.cpp 466 serverReply : "text/plain;charset=UTF-8" content received
  syslog:Jan 28 06:28:02 ubuntu-phablet signonpluginprocess[9658]: oauth2plugin.cpp 662 parseTextReply :
  syslog:Jan 28 06:28:02 ubuntu-phablet signonpluginprocess[9658]: oauth2plugin.cpp 473 serverReply : Access token is empty
  syslog:Jan 28 06:28:02 ubuntu-phablet signonpluginprocess[9658]: ../../../../src/remotepluginprocess/remotepluginprocess.cpp 425 disableCancelThread Before the isFinished loop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/signon-plugin-oauth2/+bug/1415376/+subscriptions


References