Mercurial > p > roundup > code
diff doc/user_guide.txt @ 7081:f918351a0fe6
Put oauth client secret into a file
.. and get rid of the -I option of the mailgw script.
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Sat, 26 Nov 2022 11:32:12 +0100 |
| parents | 3359dc1dabb0 |
| children | f0d39308819f |
line wrap: on
line diff
--- a/doc/user_guide.txt Fri Nov 25 23:16:00 2022 -0500 +++ b/doc/user_guide.txt Sat Nov 26 11:32:12 2022 +0100 @@ -725,8 +725,8 @@ Connect to an IMAP server over ssl using OAUTH authentication. Note that this does not support a password in imaps URLs. Instead it uses only the user and server and a command-line option for - the directory with the files ``access_token``, ``refresh_token``, and - ``client_secret``. + the directory with the files ``access_token``, ``refresh_token``, + ``client_secret``, and ``client_id``. By default this directory is ``oauth`` in your tracker home directory. The access token is tried first and, if expired, the refresh token together with the client secret is used to retrieve a new access token. Note that @@ -736,10 +736,9 @@ imaps_oauth username@server [mailbox] - Note that you also have to specify the OAuth client id with the - ``--oauth-client-id`` option on the command line. The refresh and - access tokens (the latter can be left empty) and the client secret need - to be retrieved via cloud provider specific protocols or websites. + The refresh and access tokens (the latter can be left empty), the + client id and the client secret need to be retrieved via cloud provider + specific protocols or websites. You need the requests_ library installed for OAuth.
