diary

Text-based journaling program
git clone https://git.in0rdr.ch/diary.git
Log | Files | Refs | README | LICENSE

commit bcb5d288053191612654daf3a3e88b2d72e78697
parent 480e24766f4d10b6fd73d23e2aa0c10c4ae64729
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Sat, 22 Jun 2024 16:38:03 +0200

feat(caldav): update GOOGLE_OAUTH_SCOPE

"calendar.events.owned" scope still works, the consent screen still
shows a different message, but does not seem to be properly documented
anymore:
* https://developers.google.com/calendar/api/auth

Diffstat:
Msrc/caldav.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/caldav.h b/src/caldav.h @@ -27,7 +27,7 @@ #define GOOGLE_OAUTH_CODE_VERIFIER_LENGTH 43 #define GOOGLE_OAUTH_AUTHZ_URL "https://accounts.google.com/o/oauth2/auth" #define GOOGLE_OAUTH_TOKEN_URL "https://oauth2.googleapis.com/token" -#define GOOGLE_OAUTH_SCOPE "https://www.googleapis.com/auth/calendar%20https://www.googleapis.com/auth/calendar.events.owned" +#define GOOGLE_OAUTH_SCOPE "https://www.googleapis.com/auth/calendar%20https://www.googleapis.com/auth/calendar.events" #define GOOGLE_OAUTH_RESPONSE_TYPE "code" #define GOOGLE_OAUTH_REDIRECT_PORT 9004 #define GOOGLE_OAUTH_REDIRECT_SOCKET_BACKLOG 10