开发者

Which should I use Devise or AuthLogic in Rails 3 for authenticating and creating users via OAuth

开发者 https://www.devze.com 2023-02-19 02:37 出处:网络
I am creating an application where the only way users can create an account and then subsequently login is through OAuth.

I am creating an application where the only way users can create an account and then subsequently login is through OAuth.

I only have one Oauth2 authentication source.

Ideal开发者_StackOverflowly, the User would press one button on my app, ask for their Oauth credentials, and if they are not a user, begin to create a user profile. If they are a user, log them in.


I think that Devise is an overall superior choice and i personally prefer it for my authentication routines. And it supports oauth2. So i would certainly recommend Devise.

0

精彩评论

暂无评论...
验证码 换一张
取 消