Skip to content

Commit

Permalink
Merge pull request #1898 from Giveth/fix-linkedin-scope
Browse files Browse the repository at this point in the history
fix linkedin scope
  • Loading branch information
lovelgeorge99 authored Dec 31, 2024
2 parents ff91c4d + b703497 commit b930c80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/oauth2/linkedinAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class LinkedinAdapter implements SocialNetworkOauth2AdapterInterface {
*/

// https://docs.microsoft.com/en-us/linkedin/shared/authentication/getting-access?context=linkedin%2Fcontext#open-permissions-consumer
const scope = 'r_liteprofile';
const scope = 'profile';
return `https://www.linkedin.com/oauth/v2/authorization?client_id=${clientId}&redirect_uri=${redirectUrl}&response_type=code&scope=${scope}&state=${trackId}`;
}

Expand Down

0 comments on commit b930c80

Please sign in to comment.