diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-12-21 11:01:37 -0600 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-12-21 21:23:16 +0100 |
commit | 8ce96f1716bca832b4ee1593aa3489adc932e2e9 (patch) | |
tree | 6c5bf185db2a47e09b5ca107f91b652caf90edc2 /filters | |
parent | 9cb67abce7f4dbd5288c123d571fa65e5b1e73f8 (diff) | |
download | aerc-8ce96f1716bca832b4ee1593aa3489adc932e2e9.tar.gz |
smtp: remove requirement for oauthbearer token-endpoint
The SMTP configuration is slightly different between oauthbearer and
xoauth2. The oauthbearer requires a token-endpoint, while xoauth2 does
not. The IMAP version of oauthbearer also does not require a
token-endpoint. If one is specified, the token is treated as a refresh
token.
Modify the SMTP usage to work the same way: a token is an access token
unless a token-endpoint is specified
Reported-by: Cameron Samak <csamak@apache.org>
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'filters')
0 files changed, 0 insertions, 0 deletions