【发布时间】:2016-03-20 10:16:44
【问题描述】:
我在尝试使用 LinkedIn 进行身份验证时收到以下错误。 “无效的重定向 URI”
该链接是有效的,并且在开发者网站中的链接中注册了我的应用程序。
什么可能导致此错误?
var auth = new OAuth2Authenticator
(
clientId: "MYID",
scope: "r_basicprofile",
authorizeUrl: new Uri("https://www.linkedin.com/uas/oauth2/authorization?response_type=code&client_id=MYID&redirect_uri=https://wicareerpathways.org/&state=987654321&scope=r_basicprofile"),
redirectUrl: new Uri("https://wicareerpathways.org/")
);
【问题讨论】:
-
实例化新实例后什么时候出现错误..?你看过 LinkedIn api / 文档LinkedIn Developer Support
标签: c# oauth xamarin oauth-2.0 linkedin