Re: [tg-trunk] sa_auth.cookie_secret and development.ini

2009-12-15 Thread Sanjiv Singh
Hi Mike, This one is due to http://trac.turbogears.org/ticket/2414 The code was backported from 2.0.3 to avoid two different quickstarted apps trusting each other's cookies unless it is specifically changed. But I agree that we need a better solution for it and I believe Mark had something in

Re: [tg-trunk] sa_auth.cookie_secret and development.ini

2009-12-15 Thread Nathan
Hi all, I ran into the exact same issue with 2.0.3. There's a disconnect between AppConfig.setup_sa_auth_backend and AppConfig.add_auth_middleware. setup_sa_auth_backend does its work and writes to config['sa_auth']. No one told add_auth_middleware though, it only looks at

Re: [tg-trunk] sa_auth.cookie_secret and development.ini

2009-12-15 Thread Mark Ramm
Also, when you set sa_auth.cookie_secret in the ini file, it shows up as config['sa_auth.cookie_secret'] and needs to be pushed into config['sa_auth'] somehow. Anybody know the recommended way of doing this? Surely there must be some kind of helper somewhere... There should be some crazy