• Jérome Perrin's avatar
    oauth_google_login: reimplement with oauthlib/requests · 5ea407ba
    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
    5ea407ba
document.erp5.GoogleConnector.py 5.75 KB