Rails authentication from non-web interface

Hi all,

I want to authenticate my mobile phone apps to my online Rails apps.
What would be the best approach to do this? Can anybody give
suggestion both on how I should do it in the mobile app and in the
rails app?

Thank you very much for your help.

Kind regards,
Joshua

Hi Joshua,

Hi all,

I want to authenticate my mobile phone apps to my online Rails apps.
What would be the best approach to do this? Can anybody give
suggestion both on how I should do it in the mobile app and in the
rails app?

I've got a similar situation with 2 apps, both Rails apps, where the
one making the request uses the Ruby Net::HTTP library to send its
requests, authenticating using BasicAuth inside SSL. The requests are
made to a RESTful interface so the receiving Rails app doesn't
distinguish, except in terms of the format of the response, between
getting the request from a browser or an app.

HTH,
Bill

Hi Bill,

Thank you for the hint and explanation. That really helps. I will try
from here. =)

Kind regards,
Joshua.

I'd set the rails app to accept http basic authorization over https,
and have the mobile app store the user's password.

Yeah, I am working on exactly similar project and using http basic
auth over https.
Though what is the best way to disable cookies and session management
in rails as these are not required
in the above approach.

Thanks
Gopal