hello dear developers! what are benefits of using rest api + oAuth in Rails 3 ?
Maybe I should use some different authenication ? The main Idea is that clients can buy goods via restfull queries and I should provide the highest level of reliability
Not a direct answer but a slight "redirect": Check out the omniauth gem.
Home: https://github.com/intridea/omniauth
A fork of the main repository, but more up to date right now: https://github.com/benschwarz/omniauth
While I usually don't like gems because they often cause more trouble than benefit authentication code usually does not get better when I write it myself, and this gem is pretty much standard and very widely used.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With