diff options
author | Randy Ramos <rramos1295@gmail.com> | 2019-05-21 23:21:28 -0400 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2019-05-26 10:04:28 -0400 |
commit | 62fe506e526d8c2d0ae6d8d89d2cddfb3ef040d1 (patch) | |
tree | c653a57857588ba98d0267f66abade396f6d6170 /contrib/caldav | |
parent | d15f1e9242f77d9021af8c4b45eec96eb82a8eb6 (diff) | |
download | calcurse-62fe506e526d8c2d0ae6d8d89d2cddfb3ef040d1.tar.gz calcurse-62fe506e526d8c2d0ae6d8d89d2cddfb3ef040d1.zip |
calcurse-caldav: update OAuth2 documentation for extracting auth code
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'contrib/caldav')
-rw-r--r-- | contrib/caldav/README.md | 8 |
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., -`http://127.0.0.1/?code=4/Ok6mBNW2nppfIwyL-Q1ZPVkEk3zZdZN3mHcY#`. You will need -to copy the code after `http://127.0.0.1/?code=`. In this case, it would be -`4/Ok6mBNW2nppfIwyL-Q1ZPVkEk3zZdZN3mHcY#`. +to your Redirect URI with a code embedded in it, e.g., +`http://127.0.0.1/?code=4/Ok6mBNW2nppfIwyL-Q1ZPVkEk3zZdZN3mHcY#&scope=https://www.googleapis.com/auth/calendar`. +You will need to copy the code after `http://127.0.0.1/?code=` 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 |