Skip to main content

Plugin for Trac which allows user authentication against hosted Google Apps account.

Features:

  • Allows users to log in to Trac with their Google Apps username and password

  • Allows restriction of userbase for Trac instance based on membership in Google Apps group

  • Assigns Trac groups to users based on their Google Apps groups

  • Allows basic user info listing via Trac Account Manager

  • Pre-populates Trac database with email of every user so that email notifications can be sent to users who have never logged in to Trac, and so the ticket “Assign To” drop-down is fully populated when using the config [ticket] setting restrict_owner = true. Simply view the Admin user listing page to populate the database.

  • Encrypts stored Google Apps password to protect against casual observers on filesystem and via web, but this is not nearly as secure as using OpenID

Please note that this software is currently in “alpha” state and under active development!

Author: David A. Riggs <david.riggs@createtank.com>

License

Copyright 2010 createTank, LLC

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 as published by the Free Software Foundation.

http://www.gnu.org/licenses/old-licenses/gpl-2.0.html

Requirements

This plugin requires:

$> sudo easy_install gdata

$> sudo easy_install https://trac-hacks.org/svn/accountmanagerplugin/trunk

Installation

To magically install from the PyPI,

$> sudo easy_install TracGoogleAppsAuthPlugin

… or from source,

$> sudo python setup.py install

Configuration

Trac ‘trac.ini’ configuration:

[account-manager]
password_store = GoogleAppsPasswordStore

[components]
acct_mgr.api.accountmanager = enabled
acct_mgr.web_ui.loginmodule = enabled
googleappsauth.plugin.googleappspasswordstore = enabled
trac.web.auth.loginmodule = disabled

[google_apps]
domain = mydomainname.com
group_access = trac_users
admin_username = sysadmin
admin_secret = TOP_S3CRET

You can configure all of these settings from the Trac web-based Admin console. Essentially, if you already have the web-based TracAccountManager plugin enabled and working, just enable the GoogleAppsPasswordStore (under TracGoogleAppsAuthPlugin) and disable the other password stores HtDigestStore and HtPasswdStore (under TracAccountManager). You can then configure the plugin via the Accounts / Configuration menu of the Trac web-based Admin.

Detailed documentation TODO…

Download files

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

Source Distribution

TracGoogleAppsAuthPlugin-0.3.0.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file TracGoogleAppsAuthPlugin-0.3.0.tar.gz.

File metadata

File hashes

Hashes for TracGoogleAppsAuthPlugin-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a2298af9a0e6f6eafc9c8549c12bc5eddb223da43b7b30394edf98f092a5c9cd
MD5 dacc1be24b2f34fdde3c42ac95cdd480
BLAKE2b-256 e44612f3037c168daca031e90c0fa2f7eddbf8e11c4f5fe815a2c5bb868179df

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.1

1 file

This release

0.3.0 This release

1 file

0.2.3

1 file

0.2.2

1 file

0.2.1

1 file

0.2.0

1 file

0.1.1

1 file

0.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page