Fórum
LinkedIn social login using OAuth
Rajesh Chaurasia, modificado 9 Anos atrás.
LinkedIn social login using OAuth
Regular Member Postagens: 183 Data de Entrada: 18/08/11 Postagens Recentes
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, modificado 9 Anos atrás.
RE: LinkedIn social login using OAuth
Liferay Master Postagens: 978 Data de Entrada: 03/01/10 Postagens Recentes
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, modificado 9 Anos atrás.
RE: LinkedIn social login using OAuth
Regular Member Postagens: 103 Data de Entrada: 27/08/10 Postagens Recentes
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, modificado 9 Anos atrás.
RE: LinkedIn social login using OAuth
Junior Member Postagens: 48 Data de Entrada: 27/08/14 Postagens Recentes
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