Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinkedIn deprecated parts #3558

Open
zbabayee opened this issue Dec 10, 2023 · 2 comments
Open

LinkedIn deprecated parts #3558

zbabayee opened this issue Dec 10, 2023 · 2 comments

Comments

@zbabayee
Copy link

Some parts of codes for linkedin oauth2 is deprecated .
these parts are:
LinkedInOAuth2Adapter views:
profile_url "https://api.linkedin.com/v2/me" changed to "https://api.linkedin.com/v2/userinfo"

LinkedInOAuth2Provider providers:
default scopes : 'r_liteprofile, r_fullprofile, r_basicprofile,...' changed to 'openid, profile and email'
profile fileds : 'id, firstName, lastName' changed to 'sub, name, given_name, family_name, picture, email, email_verified'
function 'extract_uid' also should be change because there is no fied 'id' in linkedin response, it changed to 'sub'.

@pennersr
Copy link
Owner

The changes described turn LinkedIn from an OAuth2 provider into a regular OIDC provider. I think we need to look into deprecating the linkedin_oauth2 provider in favor of just using the openid_connect provider.

Related: #3391

@zbabayee
Copy link
Author

yes, you're right.
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants