On Oct 17, 2015, at 1:38 AM, Sheetalaprasad mishra <[email protected]> 
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 [email protected].
> To post to this group, send email to [email protected].
> 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.

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/E764175D-CB29-4017-BD42-75672667D6DF%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to