Merge pull request #77 from nicolas33/ns/oauth-str

offlineimap.conf: oauth returned values must be str
This commit is contained in:
Rodolfo García Peñas (kix) 2021-08-03 11:25:29 +02:00 committed by GitHub
commit 8b7f8c3cdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -939,7 +939,7 @@ remoteuser = username
#oauth2_client_id = YOUR_CLIENT_ID #oauth2_client_id = YOUR_CLIENT_ID
#oauth2_client_secret = YOUR_CLIENT_SECRET #oauth2_client_secret = YOUR_CLIENT_SECRET
# #
# The return values must be bytes. # The return values must be str.
#oauth2_client_id_eval = get_client_id("accountname") #oauth2_client_id_eval = get_client_id("accountname")
#oauth2_client_secret_eval = get_client_secret("accountname") #oauth2_client_secret_eval = get_client_secret("accountname")
# #
@ -971,7 +971,7 @@ remoteuser = username
#oauth2_request_url = https://accounts.google.com/o/oauth2/token #oauth2_request_url = https://accounts.google.com/o/oauth2/token
#oauth2_refresh_token = REFRESH_TOKEN #oauth2_refresh_token = REFRESH_TOKEN
# #
# The returned values must be bytes. # The returned values must be str.
#oauth2_access_token_eval = get_access_token("accountname") #oauth2_access_token_eval = get_access_token("accountname")
#oauth2_refresh_token_eval = get_refresh_token("accountname") #oauth2_refresh_token_eval = get_refresh_token("accountname")