Closed vvirads closed 7 years ago
Hi ! I'm in the same situation. I'm looking for a way to retrieve informations, save it into my db & link local account and FB account !
Assuming LinkedIn OAuth2 and Django, the access token is stored in the UserSocialAuth
instance corresponding to linkedin-oauth2
, to get it you can do:
access_token = user.social_auth.filter(provider='linkedin-oauth2')[0].access_token
With that token you can call any of the LinkedIn APIs that the scope allows you to do.
Hello, I'm Beginner . please what is the best method to create a custom user and retrieve extra data from Linkedin Auth. Import succeded in social_auth_usersocial_auth. But you didn't mention simply and clearly how to retrieve these information. examples please