Topic-icon Error authorizing request. please login first

Active Subscriptions:

None
11 years 2 months ago - 11 years 2 months ago #52436 by marpau
I have same problem as in this thread.

www.sourcecoast.com/forums/jfbconnect/jf...-sclogin-tabstop-bug

And I have found out that problem is really connected to JFBconnect. When I have disabled all com_, mod_ and plg_ from JFBconnect, all started to work fine.

Can you help me to resolve the problem? my site is www.alirecenze.cz

This is mainly when you do logout ... just go in main page, login with facebook, and logout by button on Jomsocial Bar and login again (do it several times). The best woudl be to combine this with new account (FB) where you will write credentials by hand, not automatic FB login.

I have tried all possible, I have 10 % of user who did not sign in after account creation because of this error -> Error authorizing request. please login first.

I am not saying that this error is connected to your component, I am just saying that if I enable your component, problems starts.

I a not very happy about this component, as I am facing many issues since installation (avatars are not connected to jomsocial profiles - issue still pending, very complicated setup to make it work with some bugs, etc ) :( Free user login integration with FB developed will be for free and with no complications :(


Thanks for quick resolution of this issue.
Last edit: 11 years 2 months ago by marpau.
The topic has been locked.
Support Specialist
11 years 2 months ago #52445 by alzander
As described in the other post, that message isn't coming from JFBConnect. I'm not sure how JFBConnect would be causing that, but we'll gladly help however we can.

First, you look to have another extension on your site that's trying to handle Facebook authentication. When I click the Login button in the top right, it shows a Facebook, Google and Twitter button from a different extension. Using multiple extensions for social authentication will cause many of the problems you mention about avatars and profile import. I'd recommend disabling whatever other social authentication extensions you're using.

Next, please run the Autotune Error Check tool again. There is another extension (possibly the one above) re-including the Facebook Javascript file (sdk.js) on your site. Having that re-included can cause authentication and token issues (which could cause the authorization request issues *in that extension*).

Please let us know when those issues are cleared up and if it helps get some of your issues fixed up. If not, we'll gladly help investigate things more.

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

None
11 years 2 months ago #52450 by marpau
Hi Alex,

I needed to find another solution as I am not satisfied with your so that`s why I have Login and Register on upper right corner. This was installed today and this extension is working fine. For testng purpose I have disabled this login FB_com

Form error log I can see this - this was when I have all FB things enabled (FB wall, FW fan box,registration )

Checks performed on: alirecenze.cz/
Warning: Issues were found with your site. Please check all tests below and correct any warnings or errors.

Test: JFBCSystem plugin is enabled - Pass
Test: Facebook Javascript library inclusion Fail: Another Facebook extension is installed, including the Facebook Javascript library, and may conflict.
Test: Checking for known-conflicting extensions - Pass
Test: Checking if Debug Mode is enabled - Pass
Test: Checking HTML structure - Pass


I have disabled all the FB:


Checks performed on: alirecenze.cz/
Warning: Issues were found with your site. Please check all tests below and correct any warnings or errors.

Test: JFBCSystem plugin is enabled - Pass
Test: Facebook Javascript library inclusion - Pass
Test: Checking for known-conflicting extensions - Pass
Test: Checking if Debug Mode is enabled - Pass
Test: Checking HTML structure - Pass

Issue Still persist.

Also I have upgraded just in case to newest version. It did not help.

Did you try it by yourself? Mix login with FB and with manual sign in and during max 6 tried you will get error, Sometimes its during first one, sometimes is during 5th.

PS: for now JFB is disabled due to issues :(


Thanks for your help
Marian
The topic has been locked.
Support Specialist
11 years 2 months ago #52451 by alzander
The offending Javascript that is causing the Autotune error is in this block on your site:
JSNTemplate.initTemplate({
					templatePrefix			: "jsn_metro_pro_",
					templatePath			: "/templates/jsn_metro_pro",
					enableRTL				: 0,
					enableGotopLink			: 0,
					enableMobile			: 0,
					enableMobileMenuSticky	: 1,
					enableDesktopMenuSticky	: 0,
					responsiveLayout		: []
				});
			
(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.src="//connect.facebook.net/cs_CZ/sdk.js#xfbml=1&version=v2.0";fjs.parentNode.insertBefore(js,fjs);}(document,"script","facebook-jssdk"));
var frontpageUsers	= 12;
joms.filters.bind()
That bottom portion with sdk.js is the problem. I left the other code intact in case it helps you find the extension that's inserting it.

As for testing, yes, I did. I was able to recreate the issue when I tried to logout on about the 4th attempt. It looks like I have a super admin account on the site, but I don't know the password. Joomla won't let a password reminder be sent to super admin accounts, so I can't access the admin area.

If you can reset and send me the password via PM, we'll gladly take a further look. However, you'll need to find what's inserting the extra Javascript library as we won't be able to find that. I don't know all the extensions you have on your site, so it won't be something I'll likely be able to easily determine just by looking at the admin area. We'll also need to enable JFBConnect and disable the other social extension. If you can provide information on how to disable it (plugin, component, module), that would be helpful.

Thanks,
Alex
The topic has been locked.
Support Specialist
11 years 2 months ago #52452 by alzander
Actually, in your 2nd block above, all the tests show as though they passed. Did they pass? That seems strange that it shows they didn't but lists pass for each one.
The topic has been locked.