diff options
authorRandy Ramos <rramos1295@gmail.com>2019-05-21 23:21:28 -0400
committerLukas Fleischer <lfleischer@calcurse.org>2019-05-26 10:04:28 -0400
commit62fe506e526d8c2d0ae6d8d89d2cddfb3ef040d1 (patch)
parentd15f1e9242f77d9021af8c4b45eec96eb82a8eb6 (diff)
calcurse-caldav: update OAuth2 documentation for extracting auth code
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/caldav/README.md b/contrib/caldav/README.md
index 70365bd..49ffe4d 100644
--- a/contrib/caldav/README.md
+++ b/contrib/caldav/README.md
@@ -153,10 +153,10 @@ Upon your first run with the `--init` flag, you will be asked to go to a URL to
log in and authorize synchronization with your Google account. You can access
this URL on any other device if you cannot open a browser locally (e.g., on
a headless server). Once you authorize synchronization, you will be redirected
-to your Redirect URI with a code attached to the end, e.g.,
-``. You will need
-to copy the code after ``. In this case, it would be
+to your Redirect URI with a code embedded in it, e.g.,
+You will need to copy the code after `` and before `&scope=https://www.googleapis.com/auth/calendar`. In this case,
+it would be `4/Ok6mBNW2nppfIwyL-Q1ZPVkEk3zZdZN3mHcY#`.
Finally pass this authorization code to calcurse-caldav with the `--authcode`
flag and initialize the synchronization database like so (note that the quotes