aboutsummaryrefslogtreecommitdiffstats
path: root/cloud-mdir-sync
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2020-06-14 22:15:03 -0300
committerJason Gunthorpe <jgg@nvidia.com>2020-06-22 20:24:18 -0300
commitb9445b60cb0a1abd1bc437f213a284dfa03fbb74 (patch)
treecd5a0b231ad6641c37b7f7ac6e900f069140ac75 /cloud-mdir-sync
parentbbc4a732f898647d4d298bcf02fdd6623831acfa (diff)
downloadcloud_mdir_sync-b9445b60cb0a1abd1bc437f213a284dfa03fbb74.tar.gz
cloud_mdir_sync-b9445b60cb0a1abd1bc437f213a284dfa03fbb74.tar.bz2
cloud_mdir_sync-b9445b60cb0a1abd1bc437f213a284dfa03fbb74.zip
O365: Stop using MSAL for OAUTH
Since gmail figured out how to use oauth using asyncio and oauthlib, just use it for the O365 flow too. This greatly speeds up refreshing tickets since both graph and OWA scopes can run in parallel. This also makes the dependency list small enough the tool will run with built-in python modules for most distros. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'cloud-mdir-sync')
-rwxr-xr-xcloud-mdir-sync2
1 files changed, 0 insertions, 2 deletions
diff --git a/cloud-mdir-sync b/cloud-mdir-sync
index 4492bf7..483874b 100755
--- a/cloud-mdir-sync
+++ b/cloud-mdir-sync
@@ -9,8 +9,6 @@ if [ ! -f "$VENV/bin/activate" ]; then
python3 -m venv "$VENV"
echo '*' > "$VENV/.gitignore"
source "$VENV/bin/activate"
- # MSAL doesn't work with old PIPs, they document that at least this one
- # works.
pip install --upgrade 'pip>=18.1'
pip install -e $(dirname "$BASH_SOURCE")
# Developer tools