From b7034979d2282921e67b2549908e8403e6957fd8 Mon Sep 17 00:00:00 2001 From: Lovel George <36924734+lovelgeorge99@users.noreply.github.com> Date: Mon, 30 Dec 2024 18:34:28 -0500 Subject: [PATCH] fix linkedin scope --- src/adapters/oauth2/linkedinAdapter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adapters/oauth2/linkedinAdapter.ts b/src/adapters/oauth2/linkedinAdapter.ts index d063226c8..863bca843 100644 --- a/src/adapters/oauth2/linkedinAdapter.ts +++ b/src/adapters/oauth2/linkedinAdapter.ts @@ -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}`; }