Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I haven't tried to use SecureSocial with LinkedIn but given that</p> <ul> <li>The authentication with SecureSocial works</li> <li>You would like to list the connections of a LinkedIn user</li> <li>Your own method always gets a 401 error (Unauthorized)</li> </ul> <p>It seems obvious that you are mixing two different access levels. The authentication performed by SecureSocial only requires basic info like name or mail address, from LinkedIn. Then with the same authentication token, you would like to access advanced infos of the LinkedIn user (its connections). This is of course denied (Unauthorized) by LinkedIn because the user only gave you the permission to access his basic profile, not his contacts/connections.</p> <p>If you wish to gain more permissions in order to list the connections of a user, I think you have to add the scope info to the OAuth authentication request sent by SecureSocial. This probably implies that you will have to edit the source file of the module to add the scope info.</p> <p>See <a href="https://developer.linkedin.com/documents/authentication" rel="nofollow">https://developer.linkedin.com/documents/authentication</a> for LinkedIn scope and permissions. See <a href="https://github.com/jaliss/securesocial/blob/master/module-code/app/securesocial/core/providers/LinkedInProvider.scala" rel="nofollow">https://github.com/jaliss/securesocial/blob/master/module-code/app/securesocial/core/providers/LinkedInProvider.scala</a> for the LinkedIn SecureSocial code.</p> <p>Hope this helps.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload