响应于一个OAuth请求,LinkedIn重定向用户返回到我的服务器使用以下参数:LinkedIn OAuth的返回不清楚错误
GET /auth/linkedin/callback?error=server_error&error_description=f228ff35d9f7f99ee891ff1e9b056a7a2e4b8429b84de8d7&state=the+authorization+server+encountered+an+unexpected+condition
此外,根据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
我怎样才能找出失败的实际原因?
我的堆栈:
- 的Rails 4.2.3
- omniauth 1.2.2
- omniauth - LinkedIn-的oauth2 0.1.5
如果每次都发生这种情况,您是否可以提供实际的代码来激发请求? –
将其添加到问题 – Tal