id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
9676,Incorporate optional Single-Sign-On functionality,hasienda,hasienda,A configurable authentication cookie path has been the pre-requisite to share authentication cookies between several Trac environments on a single host. I call it "cheap" Single-Sign-On_ because IMHO it's not as mature as true SSO solutions based on a dedicated authentication backend like Kerberos.\r\n\r\nAnyway_ as per request in t:#8486 a new configuration option_ has been introduced to Trac with changeset t:changeset:9226:\r\n{{{\r\n#!ini\r\n[trac]\r\nauth_cookie_path = /var/www/trac\r\n}}}\r\n\r\nUntil now SharedCookieAuthPlugin has been the only Trac plugin to provide some "magic glue" for utilizing this option. I tested it and had the same issue as some other users. According to my half-educated code studies_ this is bound to fail at least in any recent Trac due to the way_ Trac core is handling authentication cookies internally (see [comment:ticket:5566:18 my comment to #5566] for details).\r\n\r\nSadly the author has been unable to reproduce the issue and later explicitly dropped maintenance for all his plugins. 2 1/2 years have been gone so far without a bug-fix_ not to mention an improved plugin version for Trac >= 0.12 without the monkey-patching of `auth.LoginModule` done in that plugin. Btw_ !AcctMgr monkey-patches `auth.LoginModule` too_ and this may even contribute to the failure_ at least in my case_ but I've not done any closer investigation into this.\r\n\r\nNevertheless I'm eager to get a working solution_ and after some work to resolve cookie-related !AcctMgr issues I dropped !SharedCookieAuthPlugin and made an attempted inside this plugin. Figure_ that by the time we get this into a decent matured state_ a decision could still be made on how to proceed with !SharedCookieAuthPlugin.,enhancement,closed,normal,AccountManagerPlugin,normal,fixed,SSO login,boftx@hotmail.com_ macjoost@gmail.com_ otaku42_ rjollos_ ebray,0.11
