Topic-icon Signin with LinkedIn stopped working

Active Subscriptions:

None
9 years 2 days ago #52676 by guero
Hello,

Our registration via LinkedIn has stopped working sometime during the past few days. First I thought it was because we turned on SSL for our entire site (per recommendation in response to another question on this forum), but now when I turned SSL off for Joomla, registration via LinkedIn still does not work. I just get

"Warning - We were unable to retrieve your LinkedIn account information. Please try again."

I checked the configuration and LinkedIn API and Secret Key are correct.

On the developer page on linkedin, there is now a highlighted blog post albeit from Mid February (developer.linkedin.com/blog/posts/2015/d...oper-program-changes) referring to a change on May 12th. And it's not even May 12th yet.

They also have a FAQ for people using 3rd party extensions at the end of the page at developer.linkedin.com/blog/posts/2015/transition-faq:

I’m using a third-party library to integrate LinkedIn with my app. Will it still work?

The answer to this question is highly situational. In general, 3rd-party libraries should continue to function normally, however there are two important caveats:

If your library handles authentication with LinkedIn, it is possible that it is hard-coded to request specific member permissions during the auth workflow, and as a result, may possibly be asking for permissions that you will no longer be allowed to ask for. If this is the case, the authentication request will fail, and any of your users that require a new access token will be blocked at the authentication stage.

We strongly recommend that you ensure that you know exactly what member permissions your library is requesting on your behalf and make changes to only request valid ones to avoid potential disruption. Contact the library authors if you are unable to confirm this yourself.

It’s possible that 3rd party libraries are masking one or more LinkedIn API calls behind higher-level convenience methods. If you are not familiar with the raw REST API calls that your library is making on your behalf, please pay special attention to testing your applications. The library’s abstraction of actual API calls from you could make it difficult for you to determine whether the calls your application is making will continue to function properly after May 12th.

So, to make a long story short:

1. Any idea why LinkedIn registration does not work?

2. Assuming it'll work again, are there any profile fields we won't be able to retrieve from May 12th onwards with the JFBConnect LinkedIn integration?

Thank you,
Oliver
The topic has been locked.
Support Specialist
9 years 2 days ago #52681 by alzander
First, we're testing against the changes that LinkedIn announced. We think that most of our features should still work, but will have an update out to JFBConnect likely before and/or definitely after if we find any issues. The biggest issue is that it seems like there will be less profile information we'll be able to gather about a user.

With that said, I don't think that change has anything to do with the issue you're running into. The best method to narrow down the issue is to set the "Debug Mode" to "On". That should display additional information under the Warning message about what actually went wrong. You can also enable the Logging only mode so that the issues are logged to a file and not displayed to users.

Let us know what that error is, and we can try to help narrow things down further.

The only other things I'd recommend testing are from both www and non-www domains (or any other subdomains you may have). It's possible that one will work and the other won't, and that would indicate your LinkedIn Application isn't setup correctly for all the different ways to access your site.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
8 years 11 months ago #52787 by guero
Hi Alex,

Sorry for the delay in follow-up. I turned on the debug info in JFBConnect and now get more info about the error. Please see attached screenshot from our website. I dont understand what it means 'double check the URL'. this just started happening one day without warning, when some days earlier all was fine.

Any further insights would be much appreciated. Or if there is anything else I can do to find out more info.

Thank you!

File Attachment:
The topic has been locked.
Support Specialist
8 years 11 months ago #52790 by alzander
You need to disable whatever SEF extension you're using that's altering JFBConnect URLs. Usually, there is an option to 'skip' SEF URLs for a specific extension. Once our URLs aren't being altered, things should start working again.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
8 years 11 months ago #53141 by guero
Hello Alex,

Sorry for the delay in follow-up. I disabled SEF for JFBConnect. And then I disabled the entire SEF component for everything. But the result is exactly the same.

Also, just to make sure I mentioned it, Facebook signup works fine. It's just LinkedIn that's causing the trouble.

Any additional ideas what I can try or do to debug?

Thank you!
The topic has been locked.
Support Specialist
8 years 11 months ago #53142 by alzander
What site are you testing on? I just tried to use LinkedIn on your gen2 site and it worked as expected. After clicking the LinkedIn button and authenticating, I got:

Message
LinkedIn profile successfully connected.

And was on the /co-founders page.

Am I testing on the right site?

Thanks,
Alex
The topic has been locked.