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.0b3 (2012-10-18)

  • Implement IRolePlugin again to grant Member role [erral]

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


Download files

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

Source Distribution

cs.auth.facebook-1.0b3.zip (30.9 kB view details)

Uploaded Source

File details

Details for the file cs.auth.facebook-1.0b3.zip.

File metadata

File hashes

Hashes for cs.auth.facebook-1.0b3.zip
Algorithm Hash digest
SHA256 3e2dcabb4da50c37baa99878f8f160e426b7770ad946263a25244ed97d588477
MD5 dca9a857d3f4a2bc945975526a07eeef
BLAKE2b-256 241149b58aed48a9d2b6781464e10f0e56ebd8ce2954d04d06d15a8e164b33e1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page