开发者

Which is the best 0auth gem for a rails app?

开发者 https://www.devze.com 2023-01-09 03:25 出处:网络
I\'m going to add Oauth autenthication to my rails web app. Since I don\'t want to reinvent the wheel, have you got some ruby gem to suggest to add this kind of featur开发者_StackOverflow中文版e?

I'm going to add Oauth autenthication to my rails web app. Since I don't want to reinvent the wheel, have you got some ruby gem to suggest to add this kind of featur开发者_StackOverflow中文版e?

TIA Paolo


I would say that this advice is now superseded. I'd suggest you use OmniAuth instead, possibly with Devise if you need normal auth as well.

There are 2 OmniAuth specific RailsCasts that walk you through exactly what's needed: OmniAuth Part 1 and OmniAuth Part 2


Have a look at these:

Pelle's plugin at github tutorial is here

and the second one is oauth2 with some examples

Petr

0

精彩评论

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