Hello Everyone,
I started using spring social for my web app. Twitter and Facebook signin is working fine but I have an issue
with the linkedin and the error=provider error message after a successful login.
I've found this entry somewhere
But is not helping me to much.If any error occurs while fetching the request token, <classname>ProviderSignInController</classname> will redirect to the application's sign in URL.
The request to the sign in URL will have an "error" query parameter set to "provider" to indicate an error occurred while communicating with the provider.
I suspect a possible error in the LinkedInTemplate constructor...
maybe I am not getting the accessToken and secret back from the login?Code:return linkedin != null ? linkedin.getApi() : new LinkedInTemplate("twertwret","erfregwertwert",linkedin.createData().getAccessToken(),linkedin.createData().getSecret());
Any ideas will be very helpfull.


Reply With Quote
