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

编程入门 行业动态 更新时间:2024-10-26 00:19:39
本文介绍了如何在Linked In Oauth2中获取刷新令牌?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

下面的文档说

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中获取刷新令牌?

本文发布于:2023-10-29 08:27:21,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1539207.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:令牌   如何在   Linked

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!