显示即使用户已经认证LinkedIn授予访问屏幕 [英] LinkedIn grant access screen showing even though user already authenticated

查看:257
本文介绍了显示即使用户已经认证LinkedIn授予访问屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是外部Node.js的模块, everyauth ,来处理我的LinkedIn API认证。我还没有正面的,如果这是我的模块处理他们的API的方式,或其他一些API的问题本身就是一个问题。

I'm using an external Node.js module, everyauth, to handle my LinkedIn API authentication. I'm not yet positive if this is a problem with the way my module handles their API, or some other API issue itself.

基本上,一个用户后的已获授权的,不过LinkedIn继续询问是否继续授予访问权限。我知道这是不是标准,因为我已经看到了在其他应用程序不同的用户流量。

Basically, after a user has already granted access, LinkedIn nevertheless continues to ask whether to continue to grant access. I know this is not standard because I've seen a different user flow in other applications.

下面是发生了什么一个例子:

Here's an example of what happens:

您可以看到我授予了1月11日的访问,但拍摄于1月13日。为什么我必须重新权威性!?

You can see I granted access on Jan 11th, but this was taken on Jan 13th. Why must I re-auth!?

你有任何想法是什么原因造成的?我一头扎进相关LinkedIn模块code为everyauth ,但没有在该应用程序流量吸引我的目光随着问题。

Do you have any idea what is causing this? I dove into the relevant LinkedIn module code for everyauth but nothing in that application flow caught my eye as the problem.

推荐答案

修改脚本,把他们送到的 https://www.linkedin.com/uas/oauth/authenticate 代替
https://www.linkedin.com/uas/oauth/authorize

Modify the script to send them to https://www.linkedin.com/uas/oauth/authenticate instead of https://www.linkedin.com/uas/oauth/authorize.

这会导致LinkedIn自动重定向他们回到你的网站。

That will cause LinkedIn to automatically redirect them back to your site.

更多信息请访问 https://developer.linkedin.com/documents/linkedins-oauth -details

这篇关于显示即使用户已经认证LinkedIn授予访问屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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