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
Asked
Active
Viewed 297 times
0
-
Of course you can do this. What have you tried? – tolgap Oct 10 '12 at 15:12
-
I'm just starting now... but i'm working on android alone and my friend is in charge of rails, can you tell me a way to do this o refer me to a tutorial? – leonardo Oct 10 '12 at 15:16
1 Answers
0
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:
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
Community
- 1
- 1
Anup Cowkur
- 20,443
- 6
- 51
- 84