Skip to main content

Twitter based login for Plone

Project description

Introduction

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

Installation and getting started

Add ‘cs.auth.twitter’ 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 Twitter login session information.

Install the product in the Plone Control Panel

Create a new Twitter app at https://dev.twitter.com/apps/new and fill in the required data in the plugin’s control panel form.

Credit

This product contains code written for collective.twitter.accounts by Franco Pellegrini (@frapell) and Hector Velarde (@hvelarde)

Changelog

1.0b2 (2012/10/16)

  • Inherit from PloneUser instead of PropertiedUser [erral]

  • Remove IRolesPlugin implementation [erral]

  • Add missing oauth2 dependency [erral]

  • Change user action name not to clash with Plone’s [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.twitter-1.0b2.zip (31.1 kB view hashes)

Uploaded Source

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