Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Integrating Facebook Connect with Django in 15 minutes. Django authentication middleware that calls the Facebook REST API using a cookie set by Facebook Connect and checks if that person is your Facebook friend. Despite most of the magic happening on the server you still need Facebook’s JavaScript to set that cookie in the first place.

Tagged , , , , ,

1 comment

  1. I'm sure they're using JavaScript so that their users get the nifty modal window that explains what's happening and what data will be shared.

    While I don't see them abandoning that step (nor would I like to see them do so), I hope they come up with an OpenID-like process whereby a user can be redirected back to facebook before coming back to the Facebook-aware, third-party site.

    I guess time will tell, but I could see there being resistance to such a system for the simple fact that Facebook users would have different ways of logging on to different sites, rather than one, easily understood way.

    Bret - 18th December 2008 03:08 - #

Comments are closed.
A django site