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

QOAuthHttpServerReplyHandler changes redirect_url from 127.0.0.1 to "localhost"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.7.3, 6.8.2
    • None
    • iOS/tvOS/watchOS
    • 5
    • Foundation Sprint 126

    Description

      using the workflow, on WIndows it generates url where redirect_url=http://127.0.0.1:PORT/

      but in iOS im having error being rejected by Google... took me a while but figured out that on iOS in the built url its: redirect_url=http://localhost:POST/

      solution is to set "http://localhost:PORT/" to google console... just tried, possible, and works (but realy not desired)

      or replace the parameter via setModifyParametersFunction() - (also works i assume, not tested, but thi sis also not desired solution)

      however reporting bug as this is not correct behavior

      Windows generates 127.0.0.1, iOS generates localhost...

      on Windows tried on 6.8.2 which give me 127.0.0.1

      on iOS tried on 6.7.3 which gives me localhost

      on Android tried 6.8.2 which gives me 127.0.0.1

       

      so for now issue only iOS.. good would be to also return 127.0.0.1 insteald of LOCALHOST

      Attachments

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

        Activity

          People

            vuokko Juha Vuolle
            shokarta Jiri Zaloudek
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes