Opened 17 years ago
Closed 14 years ago
#1699 closed enhancement (wontfix)
Share authentication among Trac-powered projects
Reported by: | 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
comment:2 Changed 17 years ago by
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 follow-up: 4 Changed 17 years ago by
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 Changed 17 years ago by
Replying to coderanger:
The authentication linking component is quite stable, and can be used without touching the more unstable bits in
tracforge.admin
. Just enabletracforge.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
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Closing tickets for a deprecated plugin.
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.