wiki:SharedCookieAuthPlugin

Share Trac cookies between projects in the same directory

Trac:#12257 is exploring the possibility of adding this feature to Trac.

Description

This plugin allows cookies to be shared among Trac environments that reside in the same directory, enabling Single-Sign-On to a collection of Trac sites.

Bugs/Feature Requests

Existing bugs and feature requests for SharedCookieAuthPlugin are here.

If you have any issues, create a new ticket.

defect

2 / 2

enhancement

1 / 1

task

1 / 1

Download

Download the zipped source from here.

Source

You can check out SharedCookieAuthPlugin from here using Subversion, or browse the source with Trac.

Installation

Install the plugin to multiple Trac environments that use cookie-based auth and reside in the same directory.

Configuration

Enable sharedcookieauth and set auth_cookie_path in the environments that you wish to share authentication. This can be done using a shared configuration:

[components]
sharedcookieauth.* = enabled

[trac]
auth_cookie_path = /

Recent Changes

15486 by rjollos on 2016-04-18 08:56:13
0.1.6dev: Refactor code and update documentation
15122 by rjollos on 2015-12-14 06:13:30
0.1.5: Tag sharedcookieauth-0.1.5

Bump trunk version to 0.1.6dev.

15091 by rjollos on 2015-12-01 18:21:00
0.1.5dev: Rename method added in [15075]

  • Document internal methods.

Refs #12592

(more)

Author/Contributors

Originally developed at The Open Planning Project

Author: k0s
Maintainer: agitronic
Contributors: rjollos

Last modified 9 years ago Last modified on Dec 18, 2015, 12:42:32 AM