[FIX] Use new LinkedIn OAuth url (#1935)

Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
Djorkaeff Alexandre 2020-03-26 10:21:03 -03:00 committed by GitHub
parent dbd70deee4
commit 4da2a96236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ class LoginSignupView extends React.Component {
onPressLinkedin = () => { onPressLinkedin = () => {
const { services, server } = this.props; const { services, server } = this.props;
const { clientId } = services.linkedin; 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 redirect_uri = `${ server }/_oauth/linkedin?close`;
const scope = 'r_liteprofile,r_emailaddress'; const scope = 'r_liteprofile,r_emailaddress';
const state = this.getOAuthState(); const state = this.getOAuthState();