linkedin-developers / java-sample-application

Sample Code for LinkedIn APIs
Other
41 stars 21 forks source link

Update config.properties with current scopes #13

Open tom-pj opened 5 months ago

tom-pj commented 5 months ago

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:

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 commented 5 months ago

@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