Topic-icon login redirect in a way that will never complete

Active Subscriptions:

None
on the app canvas, the page will appear briefly. I have auto login enabled on my site. everything seems to work ... until you go to the app page. The canvas brings up the site, auto logs the user in (if the account is created) and then the page disappers in ie. In firefox it complains that it is being redirected in a way that will never compleete.

seems tro work just fine though for the site itself, its only the canvas page of the app that breaks,
it also works perfectly if you are NOT logged in to facebook and using the app url. So it seems to only be a problem on the login redirect (which is set to same page.

Ive tried disabling sh404 on the jfb component as i've found, but it didnt help.

Help please
The topic has been locked.
Support Specialist
13 years 8 months ago #26526 by alzander
Can you post, or private message, the URL to your live site and to your App Canvas URL so that we can test with both?

Not sure why that would be happening, but we'll do what we can to help investigate!

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

None
live site yioceanside.org
app: apps.facebook.com/yioceanside/

also, not sure if this is be design as it might be: logged in uses the https page, logged out the non https. WRT fb like counts that appear they are distinct pages with a different number. is this by design?

Aaron
The topic has been locked.
Support Specialist
13 years 8 months ago #26553 by alzander
Aaron,
Facebook will use the SSL version of your site whenever a user is logged into Facebook. There is information that they transfer to your website through the iFrame they use about the current user, and so therefore, Facebook encrypts that information. When a user is not logged in, they may or may not load the site over SSL (it varies on a few factors). That is why they ask for both a Canvas URL and a Secure Canvas URL; they want the ability to choose the right one for the situation.

With that said, when I go to the apps page you mention above, I get an error message (in Chrome) that states:

Error 501 (net::ERR_INSECURE_RESPONSE): Unknown error.

If I go to your SSL site directly yioceanside.org/, I get a security warning that the SSL certificate is not trusted by a root authority. I'm not sure where you got your SSL certificate, but you will need one that has been validated by a root authority (Comodo, Verisign, etc). You cannot use a self-signed certificate, if that's what you're trying.

I think once you get the SSL issue worked out, you should be up and running. If this doesn't help though, just let us know!

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

None
i worked out the ssl issue - problem with cert location.

The canvas works correctly now, but only if the facebook user does NOT have an account on my site. If the user created a linked account then for a few seconds the page shows fine, once autlogon completes and refreshes, the page disapears. If i disable autlogon evrything works, but i dont want to do that.
The topic has been locked.
Active Subscriptions:

None
alzander,

cant figure this out. is autologon not compatible with canvas. I fixed all ssl issues and the page displays without any browser errors, but once the site auto logs in a registered user when the page is in a canvas, the page diapears.

any help appreciated.
The topic has been locked.
Support Specialist
13 years 8 months ago #26675 by alzander
aaron,
Sorry for the delay. Had to do some testing on your site and some investigation on our part. First of, JFBConnect and autologin functionality should be fully compatible with your App Canvas page. There are multiple other sites that use auto-login in the Canvas view and we haven't heard of any issues recently with that feature.

The redirect loop looks to be a race issue between JFBConnect and your language extension. Basically, Facebook is trying to do some redirects and I think your language extension is as well, and they are both getting confused. Can you try a few things to see if they improve the situation?
* First, try disabling the Language switcher/detection functionality you have enabled. Do this temporarily, but if it works, that will greatly help narrow down the issue.
* If that fixes it, re-enable the language plugin you're using and then try re-ordering it both above and below the JFBCSystem plugin.

After you make each change, please clear your Joomla *and* browser cache to make sure that the change fully takes effect.

Let us know if that helps at all. If not, I'm sure we can come up with more possible causes!

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

None
alex,

i dont have any multilanguage component istalled and never enabled any language switcher, i even disabled mobile template switching sh404, an disabled sh404 social plugin + hard set all options regarding social in sh404 to no.

Willing to give you access, but i dont know which plugin has this multilanguage feture that is not already disabled.
Please continue to help.

Aaron
The topic has been locked.
Support Specialist
13 years 8 months ago #26686 by alzander
Aaron,
Not sure what's causing it either then. When I go to your App site (not logged into Facebook) and then go to your live site in another tab, the URL changes to:
https://yioceanside.org/?lang=en&ref=fb
The ref=fb part is from JFBConnect. That is placed on the URL *after* we have detected that the user has just come from the App Canvas page and we've successfully reverted the template back the 'normal' live site template for the user. So, at that point, JFBConnect shouldn't be doing any more redirects. However, the lang=en part of the URL indicates something is trying to change the language. That shouldn't be JFBConnect, and that's why I assumed it was a language plugin extension of some sort.

Anyways, with that said, if you can send admin credentials for the site, that'd be great. You can Private Message me by clicking the arrow under my name (<----) and hitting the mail icon.

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

None
Just want to make sure you recieved the credentials I PM you.

I realize you may need a little time on this one.

Thanks,
The topic has been locked.