• Jérome Perrin's avatar
    oauth_google_login: reimplement with oauthlib/requests · 1c8e3731
    Jérome Perrin authored
    Because the librairies used here were never ported to python3.
    
    Notable changes:
    
      - ERP5Site_createGoogleUserToOAuth is dropped
      - internal API changed radically, so customizations made by overriding
        scripts are broken.
      - the core logic is now implemented in a connector class (still in
        portal_oauth for simplicity, but it would be simpler to move it to
        portal_web_services)
    
    No changes required in the google console, the redirect uri is still
    ERP5Site_receiveGoogleCallback
    1c8e3731
ERP5ExternalOauth2ExtractionPlugin.py 10 KB