Forums de discussion
LinkedIn social login using OAuth
Rajesh Chaurasia, modifié il y a 9 années.
LinkedIn social login using OAuth
Regular Member Publications: 183 Date d'inscription: 18/08/11 Publications récentes
HI Sir,
I am trying to develop social login feature for linkedIn and Twitter account ,but i am getting exceptions like
com.google.code.linkedinapi.client.LinkedInApiClientException: [unauthorized]. The request token used hasn't been authorized by user.
at com.google.code.linkedinapi.client.impl.BaseLinkedInApiClient.createLinkedInApiClientException(BaseLinkedInApiClient.java:3906)
I am able to do social login using Google ands Facebook using Oauth.I am figuring out the same thing for LinkedIn and Twitter and few more who support OAuth .
Can you suggest me where I may be wrong .
I am using following
auth.public.paths=/portal/linked_login
linkedIn.api.key=********
linkedIn.api.secret=********
linkedIn.api.auth.url=https://api.linkedin.com/uas/oauth/authorize?oauth_token=%s
linkedIn.api.callback.url=http://127.0.0.1:8080/c/portal/linked_login?cmd=login
linkedInAuthUrl :https://api.linkedin.com/uas/oauth/authorize?oauth_token=*****
Can someone who has tried this or is aware , share their inputs on this problem ?
I am trying to develop social login feature for linkedIn and Twitter account ,but i am getting exceptions like
com.google.code.linkedinapi.client.LinkedInApiClientException: [unauthorized]. The request token used hasn't been authorized by user.
at com.google.code.linkedinapi.client.impl.BaseLinkedInApiClient.createLinkedInApiClientException(BaseLinkedInApiClient.java:3906)
I am able to do social login using Google ands Facebook using Oauth.I am figuring out the same thing for LinkedIn and Twitter and few more who support OAuth .
Can you suggest me where I may be wrong .
I am using following
auth.public.paths=/portal/linked_login
linkedIn.api.key=********
linkedIn.api.secret=********
linkedIn.api.auth.url=https://api.linkedin.com/uas/oauth/authorize?oauth_token=%s
linkedIn.api.callback.url=http://127.0.0.1:8080/c/portal/linked_login?cmd=login
linkedInAuthUrl :https://api.linkedin.com/uas/oauth/authorize?oauth_token=*****
Can someone who has tried this or is aware , share their inputs on this problem ?
Jack Bakker, modifié il y a 9 années.
RE: LinkedIn social login using OAuth
Liferay Master Publications: 978 Date d'inscription: 03/01/10 Publications récentes
Hi Rajesh, have you looked at the marketplace "Social Apps Proxy" by the mighty Stian Sigvartsen ?
https://www.liferay.com/marketplace/-/mp/application/41226182
https://www.liferay.com/marketplace/-/mp/application/41226182
Stian Sigvartsen, modifié il y a 9 années.
RE: LinkedIn social login using OAuth
Regular Member Publications: 103 Date d'inscription: 27/08/10 Publications récentes
Thanks for the mention Jack!
Rajesh - my app "Social Apps Proxy" will greatly simplify API calls to Twitter and LinkedIn if you're keen to have control over the social login process. It essentially makes it a breeze to consume OAuth services into liferay portlets/hocks/themes etc. It leaves it up to you to decide what you do with the OAuth APIs, so you're not forced you down a certain route.
If you would just like an out of the box social login then you might want to check out this other app too "Social Login for Liferay"
-Stian
Rajesh - my app "Social Apps Proxy" will greatly simplify API calls to Twitter and LinkedIn if you're keen to have control over the social login process. It essentially makes it a breeze to consume OAuth services into liferay portlets/hocks/themes etc. It leaves it up to you to decide what you do with the OAuth APIs, so you're not forced you down a certain route.
If you would just like an out of the box social login then you might want to check out this other app too "Social Login for Liferay"
-Stian
Bharamani P Tashildar, modifié il y a 9 années.
RE: LinkedIn social login using OAuth
Junior Member Publications: 48 Date d'inscription: 27/08/14 Publications récentes
Hi Rajesh
can you share procedure and code for social login using Google??
Regards
Bharamani Tashildar
can you share procedure and code for social login using Google??
Regards
Bharamani Tashildar