looks great, seen the slice a while ago and wanted to integrate this for some time
I have a question though: Are you able to attach a facbook/twitter/ normal login... account with an already exising account later on? On Oct 12, 8:44 pm, howesc <[email protected]> wrote: > Try this: > > http://web2pyslices.com/main/slices/take_slice/77 > > see it in action onwww.tenthrow.com > > cfh > > On Oct 11, 4:57 pm, firedragon852 <[email protected]> wrote: > > > > > I tried both the following methods: > > > URL: .../login/facebook > > if request.args(0) == 'facebook': > > from gluon.contrib.login_methods.oauth20_account import > > OAuthAccount > > auth.settings.login_form = FacebookAccount(globals()) > > > can get redirected to facebook login page, but when it comes back > > web2py insists on going to .../login for authentication. > > > URL: .../facebook_login => same effect > > > On Oct 12, 1:42 am, Francisco Costa <[email protected]> wrote: > > > > anyone? > > > > On Oct 11, 5:18 pm, Francisco Costa <[email protected]> wrote: > > > > > Hello, > > > > I'm trying to implement a twitter login using this > > > > > auth.settings.login_form=TwitterTest(globals(),CLIENT_ID,CLIENT_SECRET, > > > > AUTH_URL, TOKEN_URL, ACCESS_TOKEN_URL) > > > > > but when you use auth.settings.login_form you lose regular login > > > > > is there a way to have both?

