I'm working on an ecommerce website and need to implement an authentication and authorization system. The system should be restful so that i can consume it from different sources like (web, android, ios etc). I'm currently working on devise but dont know how to convert it restful. Can anyone help me with the best gem using which i can implement above scenario ASAP.
Also can someone provide me with testing methodologies for authentication system which is restful. It would be very helpful if you can provide a blog or video tutorial for accomplishing the above task.