Il 01 marzo 2012 11:23, Can Candan <cancan...@gmail.com> ha scritto: > I think if the user grants offline_access permission to the facebook > app , facebook does not send the expires parameter after that.
That could be a problem, anyway it should be easy to add a default expiration time. > > Is there an example for using multiple authentication schemes in > addition to web2py's? I think that Bruno does that quite effectively on his movuca social cms. see it here: https://github.com/rochacbruno/Movuca > > I have found this one below, do you think its in good shape? > http://code.google.com/p/cfhowes/source/browse/#hg/web2py_multiauth I think it is old, since it does not use many of the gluon.contrib.login_methods now available to implement those features, but some ideas can be reused. mic > > On Feb 27, 11:51 pm, Michele Comitini <michele.comit...@gmail.com> > wrote: >> Hi Can, >> >> FB used to send a non standard parameter "expires_in", did they change it? >> Here is the code that should handle "expires_in": >> >> https://github.com/mdipierro/web2py/blob/master/gluon/contrib/login_m... >> >> mic >> >> Il giorno 26 febbraio 2012 12:15, Can Candan <cancan...@gmail.com> ha >> scritto: >> >> >> >> >> >> >> >> > It appears facebook does not return the 'expires' parameter for web >> > page sign on, however the code in >> > oauth20_account.py does not take into account this case. Should it >> > handle that or am I missing something?