1
0
mirror of https://git.sr.ht/~sircmpwn/aerc synced 2024-11-23 08:32:12 +01:00
aerc/doc
Frode Aannevik b0eaf5191c Support imaps with oauthbearer authentication (Gmail)
imaps+oauthbearer://user:token@host?token_endpoint=...

 - the config Source password is used as access token if
   no token_endpoint parameter is set
 - the config Source password is used as refresh token if
   token_endpoint parameter is set, and used to exchange
   with an access token

The implementation has only been tested with Gmail.

    source = imaps+oauthbearer://{username}:{refersh_token}@imap.gmail.com:993? \
    client_id=XX&\
    client_secret=XX&\
    token_endpoint=https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Ftoken

client credentials created with

    https://console.developers.google.com/apis/credentials

refresh token created with

    https://github.com/google/gmail-oauth2-tools/blob/master/python/oauth2.py

rel: https://todo.sr.ht/~sircmpwn/aerc2/42
2019-07-11 19:36:14 -04:00
..
aerc-config.5.scd Document message index format specifiers 2019-07-04 11:08:55 -04:00
aerc-imap.5.scd Support imaps with oauthbearer authentication (Gmail) 2019-07-11 19:36:14 -04:00
aerc-smtp.5.scd Fix key value typo in documentation 2019-05-23 10:22:37 -04:00
aerc-tutorial.7.scd Update docs per filters rewrite 2019-06-07 11:56:48 -04:00
aerc.1.scd aerc(1): correct error with :pipe documentation 2019-07-08 18:19:43 -04:00