aboutsummaryrefslogtreecommitdiffstats
path: root/cloud_mdir_sync/office365.py
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2020-02-04 14:45:48 -0400
committerJason Gunthorpe <jgg@mellanox.com>2020-02-06 15:01:40 -0400
commitf54472e2013f271146adf591843fed26ca7c3392 (patch)
tree810f85eefd0e937866ccb3c6bb3fb70c68a697bc /cloud_mdir_sync/office365.py
parent5c037ad30837f7e94d8dcfe160ad10e51056512c (diff)
downloadcloud_mdir_sync-f54472e2013f271146adf591843fed26ca7c3392.tar.gz
cloud_mdir_sync-f54472e2013f271146adf591843fed26ca7c3392.tar.bz2
cloud_mdir_sync-f54472e2013f271146adf591843fed26ca7c3392.zip
GMail support
Basic support for GMail using the REST API Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'cloud_mdir_sync/office365.py')
-rw-r--r--cloud_mdir_sync/office365.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud_mdir_sync/office365.py b/cloud_mdir_sync/office365.py
index 0b77de4..a13c7bb 100644
--- a/cloud_mdir_sync/office365.py
+++ b/cloud_mdir_sync/office365.py
@@ -161,7 +161,7 @@ class GraphAPI(object):
f"Goto {self.cfg.web_app.url} in a web browser to authenticate"
)
webbrowser.open(url)
- q = await self.cfg.web_app.auth_redir(url, state)
+ q = await self.cfg.web_app.auth_redir(url, state, redirect_url)
code = q["code"]
try: