Tuesday, March 26, 2013

[Rails] Usuall authorization or via social network

Hello. I want my website to have 2 types of autorization - usuall logging in with mail&password, or just with Facebook account.
But does it require two separate models, like UsuallUser and FacebookUser? Or it is possible to set up everything with just one model?
Also I wondering if there some gems I can use that support this kind of authorization, or here I need to code all by myself?

--
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-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/lX1TXFdtQO0J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate