Topic-icon Not redirect to register/login page after login Instagram.

Active Subscriptions:

None
- I've 2 sources running JFBConnect: 1 on localhost, 1 on server.
- On localhost, everything working look good. But on server with same JFBConnect Component version, same configs i copied from localhost, after i click button login instagram, it's only redirect to current page, not redirect to login/register page (all is first time login).
- I'm tried go to file /controllers/authenticate.php, var_dump method $provider->client->authenticate() and exit.
File Attachment:

- And this is what I get:
+ On Local:
File Attachment:

+ On Server:
File Attachment:

+ On Server response:
Array
(
    [{"access_token":_"3240535589_2ef7130_8b66d866b45a44f78300b41a9e8e5fb7",_"user":_{"id":_"3240535589",_"username":_"pdutie94",_"profile_picture":_"https://scontent_cdninstagram_com/vp/926a36f250a8e534a3c6374c4f9e15e8/5D0A2B24/t51_2885-19/s150x150/51311972_473072129894150_8488136780388761600_n_jpg?_nc_ht] => scontent.cdninstagram.com", "full_name": "Ti\u1ebfn Ph\u1ea1m", "bio": "Nh\u1ea1t nh\u1ebdo", "website": "", "is_business": false}}
    [created] => 1553160640
)

Can you tell me why?
The topic has been locked.
Support Specialist
That is definitely strange. The result on the server has underscores before the keys and values, which seems to indicate something is either altering those values before they get to JFBConnect or that the PHP version is very different and just printing things out differently. Even the access token itself has the underscores where the dots should be, which is making it invalid.

* Can you tell me what version of PHP you're using on both local and server?
* Are there any firewall, security or other types of extensions (either in Joomla, part of your hosting package or server infrastructure) that may be altering the contents of data before they arrive through Joomla?

Ultimately, we need to understand why the request or response is different on your local vs server site. This isn't something we've seen before though, so hopefully the above information will help us get to the bottom of it.

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

None
* PHP version:
- Server site: 7.2.16
- Local: 7.3.1
* i', using RSFirewall! v2.11.17
The topic has been locked.
Support Specialist
Can you upgrade to JFBConnect v8.0.6? The 8.0.4 release has a fix in it for a similar issue in Google+. I'm thinking the same fix will work for Instagram.

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

None
Exactly, after update to latest version: 8.0.6, it's worked.
The topic has been locked.
Support Specialist
I'm glad to hear that got you going. If you need anything else, just let us know!

Thanks,
Alex
The topic has been locked.