-
- Downloads
Protect OmniAuth request phase against CSRF.
Showing
- CHANGELOG 1 addition, 1 deletionCHANGELOG
- Gemfile 1 addition, 1 deletionGemfile
- Gemfile.lock 4 additions, 4 deletionsGemfile.lock
- app/views/devise/shared/_omniauth_box.html.haml 2 additions, 2 deletionsapp/views/devise/shared/_omniauth_box.html.haml
- app/views/profiles/accounts/show.html.haml 1 addition, 1 deletionapp/views/profiles/accounts/show.html.haml
- config/initializers/7_omniauth.rb 5 additions, 0 deletionsconfig/initializers/7_omniauth.rb
- lib/omni_auth/request_forgery_protection.rb 62 additions, 0 deletionslib/omni_auth/request_forgery_protection.rb
Loading
| Loading
| @@ -23,7 +23,7 @@ gem "pg", group: :postgres |
# Auth | ||
gem "devise", '3.2.4' | ||
gem "devise-async", '0.9.0' | ||
gem 'omniauth', "~> 1.1.3" | ||
gem 'omniauth', "~> 1.2.2" | ||
gem 'omniauth-google-oauth2' | ||
gem 'omniauth-twitter' | ||
gem 'omniauth-github' | ||
Loading
| Loading
|
lib/omni_auth/request_forgery_protection.rb
0 → 100644
Please register or sign in to comment