× Joomla Facebook Connect support forum

Topic-icon JFBC - Open Auth?

Active Subscriptions:

None
15 years 3 weeks ago #10073 by ricardocoopero
I got an angry email from Facebook! Apparently something on my site's not using OAuth to communicate with Facebook.

I'm pretty sure JFBC 3.0.3 does but can someone please confirm this so I can whittle down the offending extension.

Many thanks.
The topic has been locked.
Support Specialist
15 years 3 weeks ago #10079 by alzander
Replied by alzander on topic JFBC - Open Auth?
Yes, that version uses OAuth. Version 3.0 was when we introduced the new authentication method that Facebook required at the time. However, that's (now) an older version which Facebook is discontinuing later in the year. They haven't started sending emails, to our knowledge, about discontinuing that version as it is still the currently available version, but you'll probably get emails about discontinuation of that in the July timeframe.

3.0 is pretty old (almost a year now). If you haven't checked out the latest features in 3.2, you should. Things like easy Open Graph tags, email notifcations on Likes/Comments, and rich wall posts have been added since then:
www.sourcecoast.com/jfbconnect/

Best of luck,
Alex
The topic has been locked.
Active Subscriptions:

None
15 years 3 weeks ago #10083 by ricardocoopero
Replied by ricardocoopero on topic JFBC - Open Auth?
Thanks so much for the quick response, Alex - much appreciated. So, to clarify, does 3.2 use the latest OAuth that Facebook requires?

Thanks, Ricky

FYI, the FB email says:

Our automated systems have detected that you may be inadvertently allowing authentication data to be passed to 3rd parties. Allowing user ids and access tokens to be passed to 3rd parties, even inadvertently, could allow these 3rd parties to access the data the user made available to your site. This violates our policies and undermines user trust in your site and Facebook Platform.

In every case that we have examined, this information is passed via the HTTP Referer Header by the user's browser. This can happen when using our legacy authentication system and including <iframe>, <img> or <script> content from 3rd parties in the page that receives authentication data from Facebook. Our legacy mechanism passes authentication information in the URL query string which, if handled incorrectly, can be passed to 3rd parties by the browser. Our current OAuth 2.0 authentication system, released over a year ago, passes this information in the URL fragment, which is not passed to 3rd parties by the browser.

Please ensure that you are not allowing this data to be passed immediately. Accessing your site as a test user while running a HTTP proxy/monitor like Charles or Fiddler is the best way to determine if you are allowing this information to be passed. If you discover the issue, you can do one of two things:

1. Migrate your site to use our OAuth 2.0 authentication system. We are requiring all apps and sites to update to this mechanism by Sept. 1, 2011. Migrating now will address this issue and ensure that you are one of the first to meet the deadline. For more details, please see our Authentication Guide.

2. Create and use an interstitial page to remove the authentication data before redirecting to your page with 3rd party content. This approach is used by many of our largest developers today (although they are all migrating to OAuth 2.0 shortly). This is a simple and straightforwardchange that should have minimal impact on your site. For more details on this approach, see our Legacy Connect Auth doc.

Because of the importance of ensuring user trust and privacy, we are asking you to complete one of the above steps in the next 48 hours. If you fail to do so, your site may be subject to one of the enforcement actions outlined in our policies.

If you have any questions or believe you have received this message in error, please contact us.

Facebook Developer Relations
The topic has been locked.
Support Specialist
15 years 3 weeks ago #10091 by alzander
Replied by alzander on topic JFBC - Open Auth?
Yes, 3.0+ all use the newer OAuth system they are requiring. I'm not sure why you're receiving that notice, and don't think that it's due to JFBConnect. Within JFBConnect, we include Facebook's authentication library, which we update from time to time with new releases. It's possible that the version in the 3.0.3 release has a security vulnerability outside of the standard OAuth they are requesting, and is part of the cause of them sending the email. I simply don't know if that's the case though. We have many Facebook Connect enabled sites, and have not received a similar email, but it's possible they're going out in waves as well.

To our knowledge though, all releases since 3.0.0 have used the updated OAuth scheme that Facebook requires.

Are you using other Facebook Connect related extensions on your site that perform authentication? Things like Like buttons or Fan boxes are not related to Connect authentication though.

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

None
15 years 3 weeks ago #10118 by ricardocoopero
Replied by ricardocoopero on topic JFBC - Open Auth?
Thanks Alex,

I'll buy the latest version of JFBConnect - hopefully that will work.

I've got other extensions that use Facebook, but they're just the 'like' and 'share' ones which, as you say, don't use OAuth as far as I know.

Best,

Ricky
The topic has been locked.
Support Specialist
15 years 3 weeks ago #10128 by alzander
Replied by alzander on topic JFBC - Open Auth?
Yeah, definitely keep us posted. We weren't trying to force you to upgrade in any way, as I believe the 3.0.x version should be the same, but I just can't guarantee it. We don't test that release anymore, for obvious reasons.

Let us know if you run into any issues, and good luck!
The topic has been locked.
Active Subscriptions:

None
15 years 3 weeks ago #10210 by fb_1560104561
Replied by fb_1560104561 on topic JFBC - Open Auth?
I also just got the same email from Facebook. I am currently running JFBConnect 3.1.2 and will be upgrading to the latest version. The only other extension that I am using is Fan Box. Any other suggestions on what I should look for? The email states the problem needs to be resolved in 48 hours.
The topic has been locked.
Support Specialist
15 years 3 weeks ago #10211 by alzander
Replied by alzander on topic JFBC - Open Auth?
Can you post (or PM me) the URL of your page.

Unfortunately, we were incorrect above in that JFBConnect is using OAuth, but it's OAuth 1.1 instead of OAuth 2.0. Facebook has not released the PHP library for OAuth2.0, and has stated that they will do so on July 1st. Until then, they're recommending another method which should resolve the issue, which we're investigating. It should, hopefully, be a very minor tweak to our component.

The issue is simply that when Facebook returns a user to your site after authenticating them, they place a special code in the URL. If your site is loading external content that Facebook doesn't recognize through iframes, images, or script tags, they consider your site insecure. I say that Facebook doesn't recognize because they don't seem to be sending warnings to sites that are loading Google Analytics or a few other very commonly loaded external files.

We think we have a solution to use their recommend workaround, and should have an update out shortly. We're sorry for the inconvenience and mis-communication above.

We'll keep you posted.
The topic has been locked.
Active Subscriptions:

None
15 years 3 weeks ago #10212 by fb_1560104561
Replied by fb_1560104561 on topic JFBC - Open Auth?
Hi Alex,

I just sent you a PM. I had just completed upgrading to 3.2.1 when you posted your reply. I am now experiencing a couple of other issues after the upgrade. I gave you the details in the PM.

Thank you for your help.

Mike
The topic has been locked.
Active Subscriptions:

None
15 years 3 weeks ago #10214 by ricardocoopero
Replied by ricardocoopero on topic JFBC - Open Auth?
Hi Alex,

Yes, I got another email today about OAuth 2.0 so I'll wait for your update ASAP.

To clarify also, when I update to the new version, I won't have to reset my config data etc, will I?

Thanks!
The topic has been locked.