0

I'm getting 500 server error after oauth2 with LinkedIn

url: https://api.linkedin.com/v1/people/~:(email-address,first-name,formatted-name,id,last-name,picture-url,public-profile-url)?format=json

here I used python Django framework with below packages

*python-social-auth *social-auth-app-django *social-auth-core

how can I fix this issue?

Gayan
  • 14
  • 3
  • You have `python-social-auth` package? That's been deprecated for a long time now, `social-auth-app-django` and `social-auth-core` should be enough. Could you share the whole traceback? – omab Apr 22 '19 at 13:51
  • thanks, @omab, `social-auth-app-django` use LinkedIn API v1, but since May 1 LinkedIn API v1 deprecated. So I used the manual way to do authentication with LinkedIn v2. – Gayan Apr 29 '19 at 04:21

1 Answers1

0

In LinkedIn API Documentation it's been underlined that there are 2 types of authorization permissions: Member Authorization and Application Authorization. LinkedIn API

There is another question here that the answer suggests that it might be when OAuth client asks for more information than it's permitted to. Related Question

So IMO it might be some issue about your application's permissions.

ilkeraslan
  • 87
  • 9