This issue can't be edited

Because it belongs to an archived project. Jira admins can restore projects from the archive.

LinkedIn OAUTH2 issues with ironwood.1

Description

Some of our users are using LinkedIn for Third Party Authentication to https://cours.edulib.org.

We started getting this error message today :
HTTPError: 410 Client Error: Gone for url: https://api.linkedin.com/v1/people/~first-name,id,last-name)?format=json

After some investigation, I found the following thread and potential solution :
https://github.com/python-social-auth/social-app-django/issues/182

_The PyPi version for social-auth-core seems to be behind master from Github, which references v2. This worked for me:
pip uninstall social-auth-core
pip install git+https://github.com/python-social-auth/social-core

I did try it in my ironwood.1 development environment. It replace social-auth-core-1.7.0 with social-auth-core-3.1.0.

After restarting the services, LinkedIn authentication worked again.

I haven't installed it in our Production environment because I am unsure if there are other dependencies on social-auth-core-1.7.0 in edx-platform.
_

Steps to Reproduce

Allow third-party authentication through LinkedIn. You might need to create a client through https://www.linkedin.com/developers/ Try to connect to your Open edX instance through LinkedIn. Error message with social-auth-core-1.7.0 Successful authentication with social-auth-core-3.1.0

Activity

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Priority

Zendesk Support

Created May 22, 2019 at 7:58 PM
Updated May 22, 2019 at 7:58 PM