← Back to team overview

desktop-packages team mailing list archive

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

 

** Branch linked: lp:~online-accounts/signon-plugin-oauth2/packaging

-- 
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:
  In Progress

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