Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64937

Add a way to retrieve extra data received with token

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 5.10.0 RC2
    • Fix Version/s: None
    • Labels:
      None

      Description

      Bungie API when returning the OAuth2 token also send some extra data like the membership id of the logged in user. In the current state, the data is discarded in QOAuth2AuthorizationCodeFlowPrivate::_q_accessTokenRequestFinished().

      The current solution is to override QOAuthOobReplyHandler::networkReplyFinished(QNetworkReply *reply). This is a bit ugly because the override code will be the same except for the 2 lines required to extract the value.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              jefernan Jesus Fernandez
              Reporter:
              bterrier Benjamin Terrier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes