Android app calling rails 4 APIs

25 views
Skip to first unread message

Avi

unread,
Jan 7, 2015, 12:19:09 AM1/7/15
to rubyonra...@googlegroups.com
Hello All,

I have a Rails 4/Ruby 2 web application. There is an android app which will be calling Rails application APIs like Signin/Signout & others. What is the correct way to authenticate those request from the Android App which doesn't hamper web application?

Please let me know.



Thanks,
Avi 

Robby O'Connor

unread,
Jan 7, 2015, 1:48:15 AM1/7/15
to rubyonra...@googlegroups.com

Use token based authentication

--Rob
Sent from my cell, please excuse any typos.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f4e3d579-e470-467b-9348-815969feeccf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Avi

unread,
Jan 7, 2015, 2:22:35 AM1/7/15
to rubyonra...@googlegroups.com
Hi,

Is it like the railscast 352 using an API token ? I will give it a try.

Robby O'Connor

unread,
Jan 7, 2015, 2:26:09 AM1/7/15
to rubyonra...@googlegroups.com

There's several token based authentication gems...it's super easy to do

--Rob
Sent from my cell, please excuse any typos.

Reply all
Reply to author
Forward
0 new messages