用户注册、权限管理、第三方登陆

Keeping it Simple: Migrating to Pundit from CanCan 中文版

https://ruby-china.org/topics/18547

https://www.youtube.com/results?search_query=4-omniauth-2-identity&spfreload=1

https://github.com/intridea/omniauth-identity/blob/master/lib/omniauth/strategies/identity.rb

Role-based Authorization with Pundit

https://ruby-china.org/topics/26642

http://api.rubyonrails.org/classes/ActiveModel/SecurePassword/ClassMethods.html

Omniauth,微博与 CookieOverflow

https://ruby-china.org/topics/7559

我们用的omniauth, 然后加omniauth-identity实现了基于邮箱的注册登陆。

就是 https://github.com/kaichen/omniauth-qq-connect

失败了就去看看相关的文档:omniauth 的,QQ 开放平台的文档,还有 omniauth-qq-connect 的文档

微信开放平台 Omniauth 探索

https://ruby-china.org/topics/25410

gem"omniauth-qzone", :git =>"git://github.com/tomorrownull/omniauth-qzone.git"

这个就是QQ登陆

gem 'omniauth-weibo-oauth2' gem 'omniauth-qq-connect'

https://github.com/beenhero/omniauth-weibo-oauth2https://github.com/ballantyne/omniauth-weibo

我用过这俩, 都可以的

OmniAuth - 實作多方認證的最佳實踐 (4)

你可能感兴趣的:(用户注册、权限管理、第三方登陆)