How to use oneall credentioal in Rails application

29 views
Skip to first unread message

Sheetalaprasad mishra

unread,
Oct 17, 2015, 3:06:33 AM10/17/15
to Ruby on Rails: Talk
I have created a rails application and want users to login through google, facebook, or twitter, so for  that I found oneall.com and I have created account over there.
But the problem is that they have  provided proper documentation for PHP, .net, JAVA, But I could not able to find any such documention for Rails application.

Walter Lee Davis

unread,
Oct 17, 2015, 10:31:43 AM10/17/15
to rubyonra...@googlegroups.com

On Oct 17, 2015, at 1:38 AM, Sheetalaprasad mishra <mishr...@gmail.com> wrote:

> I have created a rails application and want users to login through google, facebook, or twitter, so for that I found oneall.com and I have created account over there.
> But the problem is that they have provided proper documentation for PHP, .net, JAVA, But I could not able to find any such documention for Rails application.
>

I downloaded the PHP dev kit, hoping that they were doing something OAUTH-compliant, but this is a custom thing, using JSON for credential exchange, and they are probably using OAUTH on their own server. Usually, this sort of multi-provider authentication is done in Rails using OmniAuth and Devise. I suppose you could write a Warden strategy that talks directly to OneAll, and thus use Devise to authenticate directly through OneAll, but if you're just trying to get your app started and want something that's ready to go, I would recommend using OmniAuth and Devise. There are tons of great walkthroughs out there, including a Railscast or two (slightly out of date, but still extremely useful) to give you the big picture.

Walter

>
> --
> 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/e27311b9-5346-40c0-8f32-bd8bd45d5a99%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages