That's what I recall too. I will report back. I am actually writing an auth class that will use rauth (compatible with Oauth 1.0-1.0a and Oauth 2.0 specs. My project requires integration with google, facebook, linkedin, twitter, pinterest and a few others. Ultimately I will be storing the auth keys so the user will be able to interact with all the social networks simultaneously.
On Friday, September 28, 2012 7:15:26 PM UTC-4, Anthony wrote: > > I believe it should work. Auth initialization checks for the auth object > in the session -- the auth object in the session includes auth.expiration > and auth.remember. If auth.expiration hasn't expired, the user is > considered logged in. The login form/method/function shouldn't be involved > at this point. > > Anthony > > On Friday, September 28, 2012 6:59:11 PM UTC-4, Dave wrote: >> >> Anthony, do you happen to know off the top of you head if the "remember >> me" logic automatically gets checked even if Auth(login_form=Myclass) is >> used? I will tinker this weekend and try to determine that myself too. >> >> Thanks >> >> On Friday, September 28, 2012 1:11:10 AM UTC-4, Anthony wrote: >>> >>> You could include a checkbox or button that sends an Ajax request to >>> store the choice in the session and then look for it there upon login. Or >>> just let the user set the option in their profile (perhaps defaulting to >>> being enabled). >>> >>> Anthony >>> >>> On Friday, September 28, 2012 12:51:37 AM UTC-4, Dave wrote: >>>> >>>> Hm. >>>> >>>> In the case of RPX, the "login form" is actually an iframe. It doesn't >>>> get posted to the web2py framework except through a callback URL. >>>> >>>> My service is similar to janrain, but i need to "link" multiple OAuth >>>> services to a singular user account. In my case a button will link to the >>>> authorize URL for the apropos service. >>>> >>>> I was originally thinking along the same lines Anthony, but since there >>>> really isn't a form getting processed I am having some trouble thinking it >>>> through. Perhaps I could create a form with the multiple account login >>>> services and redirect instead of linking directly with the button. >>>> >>>> >>>> On Friday, September 28, 2012 12:38:20 AM UTC-4, Anthony wrote: >>>>> >>>>> I think this is all you have to do to enable "remember me" for a >>>>> particular user: >>>>> >>>>> session.auth.expiration = auth.settings.long_expiration >>>>> session.auth.remember = True >>>>> >>>>> So, if you add a "remember me" checkbox to the login form, just check >>>>> whether it is selected, and if so, run the above two lines. >>>>> >>>>> Anthony >>>>> >>>>> On Friday, September 28, 2012 12:10:10 AM UTC-4, Dave wrote: >>>>>> >>>>>> Is there an easy way to allow "remember me" functionality with >>>>>> anything but the standard Auth()? I am nearly finished writing my own >>>>>> open >>>>>> authentication class for a project I am working on. I dont see this >>>>>> functionality in the baked Janrain / RPX class either though. >>>>>> >>>>>> Im trying to figure out if there is an easy way to do this or if I >>>>>> need to duplicate some of the Auth() 'remember me' functionality in my >>>>>> own >>>>>> class? >>>>>> >>>>>> Thanks >>>>>> >>>>> --

