使用 LinkedIn 登录正在返回 "The application is disabled"

Login with LinkedIn is returning "The application is disabled"

我正在尝试设置一个“使用 LinkedIn 登录”按钮。我遵循了 post:

中的所有步骤

https://www.digitalocean.com/community/tutorials/django-authentication-with-facebook-instagram-and-linkedin#step-4-%E2%80%94-linkedin-authentication

唯一的区别是我为您的应用程序授权的重定向 URL 是这个:

http://localhost:8000/auth/complete/linkedin-oauth2/

我在后端添加了密钥,还在“产品”选项卡中添加了“使用 LinkedIn 登录”选项。

但是当我尝试登录时仍然收到此消息:

我不知道这是否有帮助,但我在控制台中收到此错误: 未捕获的类型错误:无法读取 属性 'textContent' of null

我不知道这是怎么回事,我找不到有同样问题的人。

你知道我做错了什么吗?

问题是由过时的 Django 依赖项引起的。

依赖项是 social-auth-core,我将其从版本 3.2.0 更新到 4.0.3,解决了问题。