Setting up Google Auth - Appsembler

Setting up Google Auth

  1. SSH into the docker machine
  2. docker exec -i -t [container] /bin/bash
  3. Update /edx/app/edxapp/lms.env.json with "ENABLE_THIRD_PARTY_AUTH": true
  4. Update /edx/app/edxapp/lms.auth.json with:
         "Google": { 
    	"SOCIAL_AUTH_GOOGLE_OAUTH2_KEY": "...",         

    The keys have to be created in Google Developers Console. Go to, create a new project inside which create a new set of credentials. More details:

  5. Run the equivalent of paver update_db:
    • sudo -u edxapp /edx/app/edxapp/venvs/edxapp/bin/python ./ cms syncdb --migrate --settings=docker
    • sudo -u edxapp /edx/app/edxapp/venvs/edxapp/bin/python ./ lms syncdb --migrate --settings=docker
  6. Restart the site: /edx/bin/supervisorctl restart all