Tal*_*Tal 8 ruby-on-rails oauth linkedin oauth-2.0 omniauth
为响应oauth请求,LinkedIn使用以下参数将用户重定向回我的服务器:
GET /auth/linkedin/callback?error=server_error&error_description=f228ff35d9f7f99ee891ff1e9b056a7a2e4b8429b84de8d7&state=the+authorization+server+encountered+an+unexpected+condition
Run Code Online (Sandbox Code Playgroud)
此外,根据LinkedIn API,error_description是"一个URL编码的文本描述,总结了错误.",这不是这里的情况.
这是原始请求:
https://www.linkedin.com/uas/oauth2/authorization?client_id=************&redirect_uri=https%3A%2F%2Fwww.mydomain.com%2Fauth%2Flinkedin%2Fcallback&response_type=code&scope=r_basicprofile+r_emailaddress&state=cc167e16fcc8039277cae38dc02d08bf526c955ceb403513
Run Code Online (Sandbox Code Playgroud)
我怎样才能找出失败的实际原因?
我的堆栈:
我们遇到了类似的问题,这是由 LI OAuth 表单上的用户名字段中的尾随空格引起的。
我不确定为什么在具有 LI Oauth 访问权限的其他网站上没有发生这种情况,但 LI 的某人已经能够为我们验证它。这个问题应该很快就会得到解决(或者我们已经承诺过)
| 归档时间: |
|
| 查看次数: |
198 次 |
| 最近记录: |