Topic-icon LinkedIn Token Expired Error when setting up channel

Active Subscriptions:

None
I'm using JFBConnect purely as a Twitter/LinkedIn stream at this point in time. I'm not using an Facebook connections.

I've got Twitter working, but I've having problems with LinkedIn.

Site is on a dev domain so I've setup an app profile specifically for dev in both twitter & linked in developer sites (I'll switch over to live once it the site goes live).

I've logged in with a user in the front end and used index.php?option=com_jfbconnect&view=account to connect to both Twitter & LinkedIn.

I get the follow error on page the channel edit with the LinkedIn channel open: (administrator/index.php?option=com_jfbconnect&view=channel&layout=edit&id=3)

"This user's access token has expired. Please have them re-authenticate on the front-end of the site."

The users shows as: "LinkedIn Linked Login with LinkedIn to view profile Unlink"

I've tried repeatedly unlinking / relinking LinkedIn but it's not made any difference so far.

(note {site} has the actual site url)

On linked in I have r_basicprofile ticked
The callback URL http://{site}/index.php?option=com_jfbconnect&task=authenticate.callback&provider=linkedin
JavaScript http://{site}/

I'm seeing the usage on get my profile, oauth2 app authorization code request & oauth2 app access tocket request.

Is there anything else I can try?

Thanks!
The topic has been locked.
Support Specialist
10 years 2 months ago #57708 by mel
Please make sure on the front-end that you are specifically using the LinkedIn button to log in again. If you use the Twitter login or the Joomla credentials, the token for LinkedIn would not get updated. So completely logout on the front-end and try the LinkedIn login button (not the button to connect if you've unlinked the account).

The full login/authentication process is required to get the updated authentication token. The scope that should be requested in a new prompt will be the rw_company_admin permission.

Hope that helps, but if you still run into issues, please let us know.

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

None
10 years 2 months ago - 10 years 2 months ago #57717 by BigGroup
Thank you very much! That did the trick, I was using Joomla credentials to login to the front end, then authorise LinkedIn.
Last edit: 10 years 2 months ago by BigGroup.
The topic has been locked.
Support Specialist
10 years 2 months ago #57719 by mel
Great, glad it was a simple fix.
The topic has been locked.