From 4da2a962369fb7868250c6113ecf92e12dd1258b Mon Sep 17 00:00:00 2001 From: Djorkaeff Alexandre Date: Thu, 26 Mar 2020 10:21:03 -0300 Subject: [PATCH] [FIX] Use new LinkedIn OAuth url (#1935) Co-authored-by: Diego Mello --- app/views/LoginSignupView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/LoginSignupView.js b/app/views/LoginSignupView.js index f27fcf879..eee3060bd 100644 --- a/app/views/LoginSignupView.js +++ b/app/views/LoginSignupView.js @@ -224,7 +224,7 @@ class LoginSignupView extends React.Component { onPressLinkedin = () => { const { services, server } = this.props; const { clientId } = services.linkedin; - const endpoint = 'https://www.linkedin.com/uas/oauth2/authorization'; + const endpoint = 'https://www.linkedin.com/oauth/v2/authorization'; const redirect_uri = `${ server }/_oauth/linkedin?close`; const scope = 'r_liteprofile,r_emailaddress'; const state = this.getOAuthState();