You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
google-calendar: Support manual authorization using auth code.
This allows the integration to be run from non-interactive environments
or on devices without browsers, like remote servers.
Co-authored-by: Vedant Joshi <[email protected]>
This integration can be used to send Zulip messages as reminders for upcoming events from your Google Calendar.
37
38
@@ -62,6 +63,13 @@ parser.add_argument(
62
63
help="The topic to which to send the reminders to. Ignored if --channel is unspecified. 'calendar-reminders' is used as the default topic name.",
63
64
default="calendar-reminders",
64
65
)
66
+
parser.add_argument(
67
+
"-n",
68
+
"--noauth_local_webserver",
69
+
action="store_true",
70
+
default=False,
71
+
help="The default authorization process runs a local web server, which requires a browser on the same machine. For non-interactive environments and machines without browser access, e.g., remote servers, this option allows manual authorization. The authorization URL is printed, which the user can copy into a browser, copy the resulting authorization code, and paste back into the command line.",
0 commit comments