2

我想知道 AOL 最近是否有任何允许第三方开发人员访问帐户的更改。它们是否允许通过 accesstokens 和 refreshtokens 访问消息的 3rd 方应用程序?这将是一个下载消息并分析其内容的应用程序。它需要能够在不需要 AOL 密码的情况下访问用户邮箱。

4

1 回答 1

0
Yes.
redirect the customer to:
https://api.login.aol.com/oauth2/request_auth?response_type=code&redirect_uri=[redirect_uri]&client_id=[client_id]

redirect_uri will have a code. Use it to grab access token from

Request details:
POST: https://api.login.aol.com/oauth2/get_token

params:
code:[oauth_code]
client_id:[client_id]
client_secret:[client_secret]
grant_type:authorization_code
redirect_uri:[redirect_uri]

response:
{
    "access_token": "...",
    "refresh_token": "wwww.www.www--",
    "expires_in": 3600,
    "token_type": "bearer"
}

I was able to fetch mail folders and mails using golang. 
于 2022-01-14T06:43:52.837 回答