Linkedin Oauth2客户证书授予类型 [英] Linkedin Oauth2 Client Credentials grant type

查看:73
本文介绍了Linkedin Oauth2客户证书授予类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这里提出问题,因为linkedin 帮助论坛旨在在stackoverflow 上发布与API 相关的内容.

Asking the question here as the linkedin help forum directed to post things related to API on stackoverflow.

我正在组织网站上开发一项功能,以显示Linkedin中排名前5位的公司页面供稿设置.我已经在developer.linkedin中设置了所需的访问权限,并且整个流程都在developer.linkedin REST控制台中工作,以获取提要.

I am developing a feature on our org website to show the top 5 company page feeds setup in linkedin. Ive already setup the required access in developer.linkedin and the whole flow works in the developer.linkedin REST console to fetch the feed.

当我尝试从计算机中获取具有有效客户端ID和创建的机密的身份验证令牌时,我目前收到此错误.

I am currently recieving this error when i try from my machine to fetch the auth token with a valid client id and secret created.

https://www.linkedin.com/oauth/v2/accessToken?grant_type = client_credentials& client_id = OMITTED& client_secret = OMITTED

{错误":"access_denied","error_description":不允许该应用程序创建应用程序令牌"}

{ "error": "access_denied", "error_description": "This application is not allowed to create application tokens" }

文档中还提到默认情况下该流程不可用,用户将需要与linkedin联系.

The documentation also mentions that this flow isn't available by default and the users will need to contact linkedin.

https://developer.linkedin.com/docs/v2/oauth2-client-credentials-flow

默认情况下,您的应用程序将无法使用LinkedIn的客户端凭据流.请与我们联系,以授予您的应用程序使用此流的权限."

请求组织访问此流程的下一步是什么?

What would be the next steps in requesting access to this flow for my org?.

推荐答案

此处概述:

默认情况下,您的应用程序将无法使用LinkedIn的客户端凭据流.与我们联系以使您的应用程序被授予使用此流程的权限.

By default, your application will not have the ability to use LinkedIn's client credentials flow. Contact us to have your application granted permission to use this flow.

下一步是直接与他们联系,或者申请成为合作伙伴并且如果被接受,您将被授予访问超出用户身份验证流程范围之外的其他数据的权限(这基本上意味着您将能够直接从应用程序中调用以访问某些信息)

The next step would be to contact them directly or Apply to become a Partner and if accepted you'll be granted access to additional data outside of the scope of the user authentication flow (which basically means you'll be able to make calls directly from your application to access certain information)

这篇关于Linkedin Oauth2客户证书授予类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆