Facebook Tweaks Connect Login Flow to Improve Security

Facebook has just announced an update to its Connect login flow that makes the Connect login experience more consistent and should improve security.

Until now, users who login to a Connect-enabled site when already logged in to Facebook have seen an iframe “light box” within the browser window. Beginning now, a dialog will pop up in a separate browser window. That popup window will have its own address bar — this matches the login flow when the user is not already logged in to Facebook, and is generally more secure. By including the address bar, which displays a URL, users can see more clearly that they’re interacting with Facebook.

If the user’s browser has blocked popups, Facebook will instead display the following dialog, which will take the user to log in at Facebook.com, and then back to your site afterward.

connect-login-redirect

How will developers need to change their Connect implementations? According to Facebook’s Naitik Shah:

If you’re using the XFBML fb:login-button tag to render the dialog, you won’t need to change anything. Depending upon how you initiate the login flow, your users may experience the process differently; however, this is not a breaking change.

If you trigger the login flow using JavaScript, you can only trigger the Connect dialog to pop up by way of a user-initiated event, which lets you circumvent popup blockers

Facebook Marketing Bible -
The Guide to Marketing your Brand, App, Website, or Content Inside Facebook

Leave a Reply

One Response to “Facebook Tweaks Connect Login Flow to Improve Security”

  1. NYCL says:

    Well, this breaks a whole lot of existing code. For example, the lightbox approach was necessary to circumvent Safari’s security policy of preventing cookies from being dropped from sites a user hasn’t explicitly visited when calling your connect site via an iFrame. As a work around, we trigger a pop-up from the target domain with a lightbox login form within. Not quite sure how we are going to be able to handle this now…

Inside Facebook Sponsors
Frima Nanigans PangeaMedia Appmau Shoutlet GREE LifeStreet Votigo
Featured Company
Jobs of the Day

TinyCo
San Francisco, CA

Virgin Atlantic Airways
Norwalk, CT

SponsorPay
San Francisco, CA

More Research & Information from Inside Facebook

Sign up for free email updates beyond today's news.

 

WebMediaBrands
Mediabistro | SemanticWeb | Inside Network
Jobs | Education | Research | Events | News
Advertise | Terms of Use | Privacy Policy
Copyright 2012 WebMediaBrands Inc. All rights reserved.