• Jérome Perrin's avatar
    oauth_google_login: reimplement with oauthlib/requests · 25cf17ae
    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
    25cf17ae
ERP5ExternalOauth2ExtractionPlugin.py 10 KB