From be940f37840b9c0f6a0eed838dc6f0b3cc11a3e0 Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Mon, 25 Apr 2016 17:39:47 +0200 Subject: [PATCH] offlineimap.conf: XOAUTH2: expose and document the oauth2_request_url option Signed-off-by: Nicolas Sebrecht --- offlineimap.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/offlineimap.conf b/offlineimap.conf index 0a14689..bc72e11 100644 --- a/offlineimap.conf +++ b/offlineimap.conf @@ -778,6 +778,7 @@ remoteuser = username # # Mandatory parameters are "oauth2_client_id", "oauth2_client_secret" and # either "oauth2_refresh_token" or "oauth2_access_token". +# # See below to learn how to get those. # # Specify the OAuth2 client id and secret to use for the connection.. @@ -809,9 +810,13 @@ remoteuser = username # allows offlineimap to obtain new access tokens. # # If you want to use a refresh token, make sure you disabled/removed any -# oauth2_access_token option. +# oauth2_access_token option. The access token is downloaded from the URL +# defined in the oauth2_request_url configuration option. +# If the type of the remote is IMAP, oauth2_request_url MUST be defined. +# For Gmail, the default URL is https://accounts.google.com/o/oauth2/token. # #oauth2_access_token = ACCESS_TOKEN +#oauth2_request_url = https://accounts.google.com/o/oauth2/token #oauth2_refresh_token = REFRESH_TOKEN ########## Passwords