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