Skip to content

Conversation

@tom-pj
Copy link

@tom-pj tom-pj commented May 25, 2024

Description

This pull request updates the config.properties file to replace deprecated OAuth 2.0 scopes with the current scopes supported by LinkedIn.

Changes Made:

  • Removed deprecated scopes:
    • r_emailaddress
    • r_liteprofile
    • rw_ads
    • rw_organization_admin
  • Added current scopes:
    • email
    • profile
    • w_member_social
    • openid

These scopes are associated with the standard products, "Sign In with LinkedIn using OpenID Connect" and "Share on LinkedIn."

These changes ensure the application is using the latest OAuth 2.0 scopes as recommended by LinkedIn.

Reason for Changes

The previously used scopes (r_emailaddress, r_liteprofile, rw_ads, rw_organization_admin) are now deprecated and have been replaced with new scopes. Using deprecated scopes results in an authorization error, they can no longer be used.

@tom-pj
Copy link
Author

tom-pj commented Jun 3, 2024

@racchavan @swathivshenoy @Deeksha-ramesh @Nandhu2303

Could one of you please review this PR? It addresses a common issue people seem to be running into with deprecated OAuth 2.0 scopes in LinkedIn's API. Some examples of the issue being discussed: Stack Overflowexample, OAuth forum example

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

Successfully merging this pull request may close these issues.

1 participant