Topic-icon Linkedin Redirect Issue

Active Subscriptions:

None
8 years 2 months ago #56987 by wsloan
Greetings. I have set up the JFBConnect and followed the tutorial the whole way through. The only thing I did differently is set it up for LinkedIn instead of Facebook. Now wen I click to log in through linkedin the site just redirects me to my home page and never authenticates throught linkedin. It just tells me, "Your session has expried. Please log in again."

Any ideas how to resolve this?

Thanks!
The topic has been locked.
Support Specialist
8 years 2 months ago #56993 by alzander
Replied by alzander on topic Linkedin Redirect Issue
That message could mean many things. I'd recommend:
* Disabling all caching on your site
* Verifying that you setup your OAuth Redirect settings properly in the LinkedIn Setup Guide . Please see step 3-D-b.

Beyond that, I just tried to test on the URL you ran Autotune from, but the page would not load. Is your site up and publicly available when you test?

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
8 years 2 months ago #56999 by wsloan
Replied by wsloan on topic Linkedin Redirect Issue
Alright, i have disabled the caching for the site and made sure that the correct URL's were in OAuth 2.0 were correct, but the site still times out when trying to authenticate.

Our server went down this morning, but drbloomsnetwork.com is up and running now.

These are the 4 links i have in the OAuth 2.0

drbloomsnetwork.com/index.php?option=com...ck&provider=linkedin
www.drbloomsnetwork.com/index.php?option...ck&provider=linkedin
www.drbloomsnetwork.com
drbloomsnetwork.com
The topic has been locked.
Support Specialist
8 years 2 months ago #57003 by alzander
Replied by alzander on topic Linkedin Redirect Issue
The reason it's failing is because you look to be requesting the r_fullprofile permission for a user's profile. That permission must be approved by LinkedIn to be used.

Did you set that as an additional permission request in the LinkedIn area? If so, please remove it or go through the LinkedIn approval process to try and use it. Please note that JFBConnect doesn't currently use that permission for anything, so if you want it, you'll need to implement the code to use it.

I hope that helps,
Alex
The topic has been locked.
Support Specialist
8 years 2 months ago #57004 by alzander
Replied by alzander on topic Linkedin Redirect Issue
For reference, the error that's being returned from LinkedIn is:

Your application has not been authorized for the scope "r_fullprofile"

The topic has been locked.
Active Subscriptions:

None
8 years 2 months ago #57011 by wsloan
Replied by wsloan on topic Linkedin Redirect Issue
How can i turn off requesting the r_fullprofile permission. I am looking on the developer end of the linkedin site and the only things i have selected are r_emailaddress and r_basicprofile. I can turn off the email address, but the basic profile always reselects itself after i disable it.
The topic has been locked.
Support Specialist
8 years 2 months ago #57018 by alzander
Replied by alzander on topic Linkedin Redirect Issue
The r_fullprofile isn't requested by JFBConnect normally. All I can suggest is looking at the JFBConnect -> Configuration -> LinkedIn tab under the "Additional Permissions Request" to see if you've added it to that area manually.

With that said, I just tried to login again using LinkedIn on your site and it seems to be redirecting to the LinkedIn authentication page, which means it's likely working. Did you change anything? Are you still having the same issue?

Thanks,
Alex
The topic has been locked.