问题描述
我使用的是外部 Node.js 模块,但该应用程序流程中没有任何问题引起我的注意.
修改脚本以将它们发送到 https://www.linkedin.com/uas/oauth/authenticate 而不是https://www.linkedin.com/uas/oauth/authorize.
这会导致 LinkedIn 自动将他们重定向回您的网站.
在 https://developer.linkedin.com/documents/linkedins-oauth 上查看更多信息- 详情
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.
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:
You can see I granted access on Jan 11th, but this was taken on Jan 13th. Why must I re-auth!?
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.
Modify the script to send them to https://www.linkedin.com/uas/oauth/authenticate instead ofhttps://www.linkedin.com/uas/oauth/authorize.
That will cause LinkedIn to automatically redirect them back to your site.
See more at https://developer.linkedin.com/documents/linkedins-oauth-details
这篇关于即使用户已经通过身份验证,LinkedIn 授予访问屏幕也会显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!