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

Qt NetworkAuth fails to refresh auth with refresh token (using Google's OAuth2)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15.2, 6.0.0
    • 5.15.1, 6.0.0 Alpha
    • None
    • All
    • a7d697498be7d19bd86d343474845febc9f46b68 (qt/qtnetworkauth/dev) c7dba0796324c9846ffb9dac470045da35520337 (qt/qtnetworkauth/5.15)

    Description

      After setting up things with Google's OAuth2 implementation I get a token and refresh token.

      Starting the app after setting the refresh token from the last run should allow to start a new session without going through the OAuth2 flow again.
      Instead I get:
      qt.networkauth.replyhandler: Error transferring https://oauth2.googleapis.com/token - server replied: Bad Request

      This is due to NetworkAuth not setting the client id and shared secret.

      Attachments

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

        Activity

          People

            frederik Frederik Gladhorn
            frederik Frederik Gladhorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes