From bcf4fdb0ae222c96896e58e806ac18812573d0f4 Mon Sep 17 00:00:00 2001 From: Rushikesh Date: Thu, 14 Nov 2024 11:17:47 +0530 Subject: [PATCH] linkedin scopes updated to 'profile' and 'email' according to update in scope --- providers/linkedin/linkedin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/linkedin/linkedin.go b/providers/linkedin/linkedin.go index 5719911d7..41f104f5e 100644 --- a/providers/linkedin/linkedin.go +++ b/providers/linkedin/linkedin.go @@ -257,7 +257,7 @@ func newConfig(provider *Provider, scopes []string) *oauth2.Config { if len(scopes) == 0 { // add helper as new API requires the scope to be specified and these are the minimum to retrieve profile information and user's email address - scopes = append(scopes, "r_liteprofile", "r_emailaddress") + scopes = append(scopes, "profile", "email") } for _, scope := range scopes {