spring-attic / spring-social-samples

Samples of using Spring Social
http://projects.spring.io/spring-social
Apache License 2.0
531 stars 811 forks source link

unable to sign in via linkedin #47

Open FugDev opened 9 years ago

FugDev commented 9 years ago

I configured my linked in app account with "http://localhost:8080/auth/linkedin" as redirect uril (which is the one i see the demo is requesting as redirect_uri param calling linkedin oauth server). Although i get "invalid redirect_uri. This value must match a URL registered with the API Key."

muzeebullah commented 8 years ago

These settings worked for me:

website url: http://localhost:8080/

redirect urls: http://localhost:8080/connect/linkedin http://localhost:8080/signin/linkedin

also, changed scope to : "r_basicprofile r_emailaddress rw_company_admin w_share" [connections won't work with these perms though]

muzeebullah commented 8 years ago

Note on linked in permissions: https://developer.linkedin.com/support/developer-program-transition

"... Access to "r_fullprofile" & “r_contactinfo” permissions

The r_fullprofile and r_contactinfo member permissions are now only available exclusively to applications accepted to the Apply with LinkedIn partner program. As a result, you will only be able to request this member permission if your application has been approved by LinkedIn for this particular use. ..."

These are the default perms allowed as of date: "r_basicprofile r_emailaddress rw_company_admin w_share". Connections link won't work in this module with default perms.