Modify

Opened 17 years ago

Closed 14 years ago

#1699 closed enhancement (wontfix)

Share authentication among Trac-powered projects

Reported by: gustavo@… Owned by: Brad Anderson
Priority: high Component: DbAuthPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Hello.

I have several Trac-powered projects in http://tracker.gnulinuxmatters.org/ and I'd like them to share the authentication, this is, if someone logs in to http://tracker.gnulinuxmatters.org/ggl/, then s/he can automatically access other projects like http://tracker.gnulinuxmatters.org/tds/, http://tracker.gnulinuxmatters.org/fsgl/...

Technically, for this to work, one should only modify the cookie path of trac_db_auth, however, I'm not a Python developer, so I'm unable to give you a patch.

It would be great if you could make a cookie_basepath option inside dbauth in the Trac config file. A cookie_domain would also come in handy, in my opinion.

If you decide not to implement this feature, could you please tell me how to work around this?

Thanks in advance.

Cheers.

Attachments (0)

Change History (5)

comment:1 Changed 17 years ago by Noah Kantrowitz

It is worth noting that TracForge? already implements this in a generic way. As long as DBAuth uses the same cookie as the normal Trac login system, you can just use that.

comment:2 Changed 17 years ago by gustavo@…

Thanks for the answer, coderanger!

TracForge looks very promising, but it's still experimental and I cannot afford breaking anything on that server.

Cheers.

comment:3 Changed 17 years ago by Noah Kantrowitz

The authentication linking component is quite stable, and can be used without touching the more unstable bits in tracforge.admin. Just enable tracforge.linker.auth.* on your client envs, and make sure you set the master path as mentioned in the wiki page.

comment:4 in reply to:  3 Changed 17 years ago by anonymous

Replying to coderanger:

The authentication linking component is quite stable, and can be used without touching the more unstable bits in tracforge.admin. Just enable tracforge.linker.auth.* on your client envs, and make sure you set the master path as mentioned in the wiki page.

Thanks! Then I'll give it a try!

comment:5 Changed 14 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Closing tickets for a deprecated plugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Brad Anderson.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.