On Jun 8, 1:29 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> Hi Richard,
>
> thegmailauthentication is not based on open-id (yet). it presents
> you with a standard login form. It tried to log you in via the normal
> auth_user table. It it fails, it tried to verify your password using
> thegmailsmtp service. If that works a the auth_user table is created/
> updated with the md5 hash of your current password.
>
> This is designed to be streightforward to setup.

That's neat and easy to setup, but I agree with Alexei that the user
may be suspicious. I would need to highly trust the competence and
integrity of a third party before entering in my email login details.
How does it handle if I change my email login password so the hash is
out of date?


> We will soon have an API like stack overflow does.

That would be great. Will it redirect to each respective site to
login?


>
> Massimo
>
> On Jun 7, 10:22 pm, Richard <richar...@gmail.com> wrote:
>
> > hi,
>
> > I tried testing thegmailauthentication but I still get the standard
> > login form. Do I need to add something in the controller/view?
>
> > Have you seen the login form for stackoverflow.com? It lets you choose
> > between many providers, includinggmail. Is something like that
> > possible through ldap_auth?
>
> > Richard
>
> > On May 13, 3:01 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > Please try this....
>
> > > 1) to authenticate withgmail
>
> > >auth=Auth(globals(),db)
> > > from gluon.contrib.login_methods.email_auth import email_auth
> > >auth.settings.login_methods.append(email_auth())
>
> > > 2) to authenticate using basicauthenticationof a third party server
>
> > >auth=Auth(globals(),db)
> > > from gluon.contrib.login_methods.basic_auth import basic_auth
> > >auth.settings.login_methods.append(basic_auth('http://server'))
>
> > > 3) to authenticate using LDAP  server
>
> > >auth=Auth(globals(),db)
> > > from gluon.contrib.login_methods.ldap_auth import ldap_auth
> > >auth.settings.login_methods.append(ldap_auth(...))
>
> > > (requires ldap library installed. look into gluon/contrib/
> > > login_methods/ldap_auth.py for ... options).
>
> > > Please let me know if this works for you.
>
> > > CAS client will be next....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to