Add to Gemfile:
ruby '2.6.6'
gem 'omniauth'
gem 'omniauth-google-oauth2'
gem 'omniauth-rails_csrf_protection'
Use button:
<%= button_to "Log in with Google", '/auth/google_oauth2' %>
For further actions, you may consider blocking this person and/or reporting abuse
Sai Chinmay Tripurari -
Daksh Kataria -
Girish Bhatia -
Gokul Ramakrishnan -
Top comments (0)