I want to know how can I authenticate a user on an android app using a RAILS web service… and how to store his/her credentials for further use
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The standard way is that you can use build rest API’s using rails that would authenticate a given set of credentials. Then you can call this API using standard HTTP requests and store the tokens in many different secure ways.
Here’s a good project I found which implements another method to authenticate users of an android app using rails:
http://www.strukturedkaos.com/2011/09/19/soup-to-nuts-token-authentication-for-android-using-rails-3-devise/
Here’s another great thread on this site discussing another solution:
What can I use to allow an android app to communicate with a rails app