Skip to main content

Facebook authentication plugin for Plone

Project description

Introduction

A PAS plugin to login into a Plone Site using Facebook.

Installation and getting started

Add ‘cs.auth.facebook’ to your buildout.cfg’s eggs list.

You have to add a configuration similar to this to your buildout.cfg:

zope-conf-additional =
   <product-config beaker>
       session type     file
       session.data_dir ${buildout:directory}/var/sessions/data
       session.lock_dir ${buildout:directory}/var/sessions/lock
       session.key      beaker.session
       session.secret   this-is-my-secret-${buildout:directory}
   </product-config>

This is needed because we are using collective.beaker to handle Facebook login session information.

Install the product in the Plone Control Panel

Create a new Facebook app at https://developers.facebook.com/app and fill in the required data in the plugin’s control panel form.

Credit

This product re-distributes a lot of code written by Martin Aspeli (aka @optilude) in his book “Professional Plone 4 Development” and available under GPL license in his personal GitHub account with the name ‘optilux.facebookauth’:

https://github.com/optilude/optilux/tree/chapter-16/src/optilux.facebookauth

Changelog

1.0b2 (2012-10-16)

  • FaceBook users are now PloneUsers [erral]
  • Implement user search in storage [erral]
  • Get properties from self data storage instead of relying on Session [erral]
  • Change user action name not to clash with Plone’s login [erral]

1.0b1 (2012-07-13)

  • Initial release [erral]

Project details


Release history Release notifications

History Node

1.1

History Node

1.1b1

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0

History Node

1.0b3

This version
History Node

1.0b2

History Node

1.0b1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
cs.auth.facebook-1.0b2.zip (30.8 kB) Copy SHA256 hash SHA256 Source None Oct 16, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page