无法添加 OAuth 2.0 范围 LinkedIn

Can't add OAuth 2.0 scopes LinkedIn

我无法在 Linkedin 开发者页面中更改 OAuth 范围。 这就是为什么在尝试获取授权码时出现此错误的原因:

error=unauthorized_scope_error&error_description=Scope+%26quot%3Br_basicprofile%26quot%3B+is+not+authorized+for+your+application

您可以在我的个人资料中看到 OAuth 范围部分。我只是无法设置任何范围。

在 LinkedIn Developer Console 中导航至 Products,然后select 使用 LinkedIn 登录。

验证过程需要一些时间,然后 r_emailaddressr_liteprofile 应该出现在您的权限下。

此 link 为您提供了执行此操作的步骤。

https://docs.pathfix.com/integrating-with-linkedin

但我认为您需要先让公司资料的所有者验证您的应用程序,然后才能执行此操作。如果完成,那么您应该可以开始了。

范围是通过添加产品来添加的。这是 linked 屏幕上的第三个选项卡。

希望这对您有所帮助:)

对于@asood711

的回答,我想再补充一些细节

在应用程序的 LinkedIn 开发人员控制台中导航至 产品,然后select 使用 LinkedIn 登录

验证过程需要一些时间,然后 r_emailaddressr_liteprofile 应该会出现在您的权限下.