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

[OAuth] Support private URI scheme redirection (Android, iOS)

    XMLWordPrintable

Details

    Description

      There are broadly speaking three categories of redirect_uris for native applications

      1) loopback URIs (http://127.0.0.1:2344/oauth2redirect, currently supported by qtnetworkauth via QOAuthHttpServerReplyHandler)
      2) private URI-schemes (com.myapp.com:/oauth2redirect, what this Jira task is about)
      3) claimed "https" scheme URIs (https://my.app.com/oauth2redirect

      This task is about 2), adding convenience support for the private URI schemes. This most probably means implementing a new ReplyHandler class into the qtnetworkauth module (QOAuthUriSchemeReplyHandler). Also, the documentation must include what the application developers need to do with regards to application manifests (Android) and entitlements (iOS).

      This task relates closely to adding support for "claimed https URI schemes". They will in all likelihood share the same convenience class.
      Automatic CI testing is likely going to be somewhat limited as the custom URIs may invoke a dialogue for the user to select an application.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-124338
          # Subject Branch Project Status CR V

          Activity

            People

              vuokko Juha Vuolle
              vuokko Juha Vuolle
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes