restful-authentication

Restful Authentication: Allow logins from multiple computers?

Our Rails app is using Restful Authentication for user/session management and it seems that logging in to the same account from multiple computers kills the session on the other computers, thus killing the "Remember me" feature. So say I'm at home and log in to the app (and check "Remember me"). Then I go to the office and log in (and a...

Force Restful Authentication to login as a specific user (an admin function)?

I'm using Restful Authentication and I'd like to be able to log in as different users on our site to investigate issues they may be having ("see what they see"). Since all passwords are encrypted I obviously can't just use their passwords. So, how can I force a session to be logged in as a specific user? ...

how to repair or reinstall restful_authentication plugin?

I recently upgraded my rails from 2.0.1 to 2.3.3 and since then have been seeing erratic behavior with the restful_authentication plugin. Below are 3 of the errors and stack traces that I got some of the time, but not all the time. I get these on separate requests, but the code-editing here put them all together. I got the latest versio...

How to Secure CouchDB

CouchDB access as a rest service seems insecure. Anyone can hit the database and delete/add documents once it is exposed. What is the best strategy to secure the CouchDB? ...

Rails and Amazon SimpleDB authentication

Hello, I'm trying to use Amazon's SimpleDB with RoR. I need a standard user registration / authentication / roles checking. Pretty simple, but it seems that restful-authentication plugin did't work with SimpleDB. Can someone please point me to working solution or should I write my own from scratch? Anyone? Please? ...

RESTful user authentication service

Hey folks, this seems to have been discussion fairly often but I want to make a simple, watered down question around doing authentication with RESTful services. The scenario is as follows: There is a system that houses registered users for an application. The system exposes a RESTful API for accessing these users. There is a fro...

REST client that can handle login via oauth.

Hi I am working as a tester on a system based on a Rest API. Part of my job is to use different applications to POST files to the Rest API and then accessing the API directly via a Rest Client to verify that the XML is correct. So far I have been using the RESTClient firefox add-on. But now we are getting rid of our old login in favo...

Display username after the user logs in using RESTFUL authentication?

Hi, i'm using RESTFUL authentication on a rails application. The signup/login is working fine. I'm trying to display the username (based on what they logged in with) on the 'members' page they are re-directed to. for example, "Welcome back John!" any ideas? thanx ...

Restful Authentication plugin and Users model

Hi I have a question about using the restful-authentication plugin. I have it working just fine with the "out of the box" setup. I am trying to add a user partial form nested into a form of another model. I can not seem to figure out how to have this form add a new user to the users model. I have other nested forms that work just fine...

Configure mail.rb for localhost testing

hi...is it possible to configure mail.rb (in RESTFUL authentication) to test email activation locally? the default file is ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :address => "mail.example-domain.com", :port => 25, :domain => "www.example-domain.com", :authentication => :login, ...

Add a logout button in RESTFUL authentication

hi...I've installed RESTFUL authentication and everything seems to be working fine. i can signup and login. the only way i can logout is by typing in the URL http://localhost:3000/logout how do i add a logout button on a page? i tried adding one to the members.rhtml <%= link_to "logout", :controller=> "sessions", :action=> "destroy" %>...

restful authentication and LDAP

Hi, I'm new on ruby, i use the restful authentication plugin and that works perfectly, Now, i have an authentication based on LDAP, and i want to combine ldap and restful authentication. Ldap also Any examples ? Thank you for help. ...

Android: How to consume xml from webservice using authentication?

I am trying to call a restful webservice (that needs to require authentication) from my android app. I am doing this successfully already with a url that does not require authentication, but am not sure of the correct approach to use if I want to set up a url that does require authentication. I am currently consuming xml using a Sax Pars...

What is wrong with this method? (I need some awesome Ruby Coders)

Ignoring rolerequirement with restfulauthentication method in a subdomain scope I have created a site which utilizes subdomains and searches whether or not the user is at: subdomain.domain.com or domain.com. If the user is in subdomain.domain.com, /views/layouts/application.html.erb appears, if the user is in domain.com /views/layouts/p...

RESTful Web Services: method names, input parameters, and return values ???

I'm trying to develop a simple REST API. I'm still trying to understand the basic architectural paradigms for it. I need some help with the following: "Resources" should be nouns, right? So, I should have "user", not "getUser", right? I've seen this approach in some APIs: www.domain.com/users/ (returns list), www.domain.com/users/user ...

Rails shared restful authentication between multiple apps

I'm creating a rails app that will run on the same domain as an older app. I would like to be able to use the restful login functionality of the older app to authenticate users for the new app. Ideally, the user could login to the old app and then have access to the new app. I'm running two mongrel instances for each app. Any help is ...

Seeding a restful_authentication user in seeds.rb

I'm pretty sure I understand how seeding work with respect to seeds.rb, but I can't seem to use it to stick a restful_authentication User object into the database. User.create(:login => 'admin', :role => Role.find_by_name('super_admin'), :email => '[email protected]', :password => '123123') Am I mis...

Implementing OAuth Provider in Delphi

I've developed a REST web service and I want to implement an OAuth Service Provider for authenticating, primarily, two-legged OAuth requests. Could anyone please point me to an implementation of an OAuth Service Provider created in Delphi. Thanks in advance. ...

Method not found error after updating Rails

Hi, it's about Ruby On Rails and it's Restful Authentication plugin. The title says it all: I updated Rails. I restarted my WebApp. The method "store_location" of Restful Authentication cannot be found. in the file lib/restful_authentication.rb can the method be found, by me, but no longer by Rails. Why? Please help! Yo...

Restful authentication between two GAE apps.

Hello everyone, i am trying to write a restful google app engine application (python) that accepts requests only from another GAE that i wrote. I dont like any of the ways that i thought of to get this done, please advice if you know of something better than: Get SSL setup, and simply add the credentials on the request that my consumin...