Hi, and thanks to all you developers for your great work on the TurboGears 
framework.

I've recently upgraded our TurboGears installation from version 2.1.0 to 
2.2.0, and met only minor hindrances following your upgrade guide (
http://www.turbogears.org/2.2/docs/main/Auth/whoini.html).  However, now 
that I'm trying to move from repoze.who 1.x to repoze.who 2.x, I have 
gotten into the same problem as mentioned above, because I use a 
who.ini-based repoze configuration (with, among other things, a Facebook 
Connect authenticator).

I searched through the issues registered on GitHub, but couldn't find the 
request for updating the "using who.ini" documentation.  I have also looked 
at both
  
  http://www.turbogears.org/2.2/docs/main/Auth/whoini.html, and 
  
https://turbogears-dev.readthedocs.org/en/workshop/turbogears/authentication.html
.

but could not find any description of how to update the who.ini file to 
work with TurboGears 2.2.0.  Therefore, I wonder if there has been any 
progress on this issue?  Should I create such a GitHub issue, if it is 
correct that it does not yet exist?


On Tuesday, October 16, 2012 4:52:18 AM UTC+2, Michael Pedersen wrote:
>
> I don't have the recipe yet. Could you open a ticket at 
> https://github.com/TurboGears/tg2docs/issues so we can make sure to 
> track and get this resolved? 
>
> On Tue, Oct 9, 2012 at 5:36 PM, kgk <[email protected] <javascript:>> 
> wrote: 
> > 
> > I have an application (on tg 2.1.5) that I am trying to base on tg 2.2 
> > which uses repoze.who v2 (repoze.who v1 has some issues for us) 
> > 
> > 
> > I think the docs ( 
> > http://www.turbogears.org/2.2/docs/main/Auth/whoini.html#using-who-ini 
> > )  are out of date as they seem to require repoze.what specifically the 
> > lines 
> >  --------------------- 
> > from repoze.what.plugins.sql import configure_sql_adapters 
> > from repoze.what.middleware import AuthorizationMetadata 
> > 
> > from customwho import model 
> > auth_plugin = SQLAlchemyAuthenticatorPlugin(model.User, model.DBSession) 
> > md_plugin = SQLAlchemyUserMDPlugin(model.User, model.DBSession ) 
> > _source_adapters = configure_sql_adapters( 
> > ------------------- 
> > 
> > I notice that repoze.what has a dependency on repoze.who v1 so I am back 
> > where 
> > I started 
> > 
> > Given the new auth code for tg 2.2 does someone have an updated recipe 
> for 
> > using with who.ini? 
> > 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "TurboGears" group. 
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msg/turbogears/-/smRQF-xbwSIJ. 
> > To post to this group, send email to 
> > [email protected]<javascript:>. 
>
> > To unsubscribe from this group, send email to 
> > [email protected] <javascript:>. 
> > For more options, visit this group at 
> > http://groups.google.com/group/turbogears?hl=en. 
>
>
>
> -- 
> Michael J. Pedersen 
> My Online Resume: http://www.icelus.org/ -- Google+ 
> http://plus.ly/pedersen 
> Google Talk: [email protected] <javascript:> -- Twitter: pedersentg 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to