Use latest REST API (v3) - but avoid the google client libraries (too big, too much to update, not integrated with auth). Part of MDL-58220
Part of MDL-58220
Build an admin page where OAuth 2 services can be installed and configured. Part of MDL-58220