My sole login type is Twitter OAuth; I''m using Authlogic with the Oauth addition for authentication. I''m trying to build my Rails app such that the user is automatically redirected to Twitter''s login/registration, instead of having a "login with Twitter" button on my page. That works so far, using a new view like this: <html> <body> <% form_tag(user_session_path, :method => :post, :id => ''new_user_session'') do %> <%= hidden_field_tag ''login_with_oauth'', ''Login with Twitter'' %> <% end %> <script type="text/javascript"> var e = document.getElementById("new_user_session"); e.submit(); </script> </body> </html> I''m trying to get Remember Me to work now, without success. I added this line: <%= hidden_field_tag ''user_session[remember_me]'', ''1'' %> to the above form, but that doesn''t appear to work; I still get redirected to Twitter (after restarting the browser). I''d like to be able to get Remember Me behavior out of the registration, too, if that''s possible. So the user goes to the app, registers, and ~never signs in again. Any ideas what I''m missing? Thanks, Andrew -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.