下面的文档说
developer.linkedin/docs/Refresh -带有OAuth-2的令牌
在为访问令牌交换授权码时,如果启用了刷新令牌,还将返回以下字段:
When exchanging Authorization Code for an Access Token, If Refresh Tokens are enabled, the following fields will also be returned:
refresh_token
refresh_token
refresh_token_expires_in
refresh_token_expires_in
但是我没有任何适当的文档来启用刷新令牌,因为我获得了access_token和expiry_in但没有刷新令牌.因此,我需要传递如何启用刷新令牌或其他任何参数
But I don't see any proper documentation to enable refresh token, because I get access_token and expiry_in but not refresh token. So How to enable refresh token or any other param do I need to pass to get refresh token
推荐答案页面顶部指出:
LinkedIn已在OAuth 2.0中引入了刷新令牌.这项特征 目前仅适用于部分合作伙伴.它将被制成 在不久的将来推出GA.
LinkedIn has introduced Refresh Tokens with OAuth 2.0. This feature is currently available for a limited set of partners. It will be made GA in the near future.
因此,我想您必须与他们联系,并要求他们为您的应用配置它,直到他们将其发布为GA.至少这就是我的阅读方式.
So I suppose you have to contact them and ask them to configure it for your app until they make it GA. That's how I read it at least.
对于如此规模的公司,该文档绝对是可怕的!祝你好运.
The documentation is absolutely dreadful for a company that size! Good luck.
更多推荐
如何在Linked In Oauth2中获取刷新令牌?
发布评论