如何在 Linked In Oauth2 中获取刷新令牌?

How to get refresh token in Linked In Oauth2?

下面的文档说

https://developer.linkedin.com/docs/Refresh-Tokens-with-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_expires_in

但是我没有看到任何适当的文档来启用刷新令牌,因为我得到了 access_token 和 expiry_in 但没有刷新令牌。那么我需要传递如何启用刷新令牌或任何其他参数来获取刷新令牌

该页面的顶部指出:

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。至少我是这样读的。

对于这样规模的公司来说,文档绝对是可怕的!祝你好运。