Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1292

Make the authentication easier to customize

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.0
    • Component/s: Framework

      Description

      With NXDRIVE-1291, the user's browser will be used for the authentication.
      It will redirect to a custom protocol URL.

      The custom protocol URL will work only when Drive is packaged, so developers will be stuck. As the WebEngine module is removed from Windows packages only (and our devs are on GNU/Linux and macOS), we imagined that workaround:

      • move the connection code that uses WebEngine from gui/*.py to gui/dev/xxx.py
      • set the envar NXDRIVE_DEV to 1
      • in gui/application.py, check the envar and if defined, import the dev package and use its class instead of the "legacy" one
      • in ndrive.spec, exclude the nxdrive.gui.dev package

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h